cloud-code-samples
cloud-code-samples copied to clipboard
Enable buildpacks for python django guestbook sample
From cloud-code-vscode-internal created by j-windsor: GoogleCloudPlatform/cloud-code-vscode-internal#2642
Because of the implementation of the k8s Job waiting to do django migrate, we need to set /bin/sh -c entrypoint in dockerfile so we can specify args: ["python manage.py migrate"] in the migration job and it will run successfully for both buildpacks and docker.
This is currently blocked by https://github.com/GoogleContainerTools/skaffold/issues/4397
Investigating how to implement buildpacks - it might be more secure to use an entrypoint other than /bin/sh -c
Looking at the referenced issues and the time elapsed, it seems like this issue may have been handled elsewhere but not updated here. Assigning back to j-windsor to route to a knowledgeable person or close as handled.