builder/python-latest.yaml (11 lines of code) (raw):

# This is a cloudbuild.yaml template for the runtime builder steps: - # Generate application Dockerfile name: 'gcr.io/gcp-runtimes/python/gen-dockerfile:latest' args: [ '--base-image=gcr.io/google-appengine/python:latest' ] - # Use that Dockerfile to create final application image name: 'gcr.io/cloud-builders/docker:latest' args: ['build', '-t', '$_OUTPUT_IMAGE', '.'] images: - '$_OUTPUT_IMAGE'