cloud-code-samples icon indicating copy to clipboard operation
cloud-code-samples copied to clipboard

Enable buildpacks for python django guestbook sample

Open sivakku opened this issue 4 years ago • 2 comments

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

sivakku avatar Jul 29 '20 21:07 sivakku

Investigating how to implement buildpacks - it might be more secure to use an entrypoint other than /bin/sh -c

kelsk avatar Feb 11 '21 20:02 kelsk

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.

engelke avatar May 05 '22 18:05 engelke