Skip to content

Instantly share code, notes, and snippets.

@broady
Last active December 16, 2016 00:52
Show Gist options
  • Save broady/ff1c5220d724060f3396ca418dad1510 to your computer and use it in GitHub Desktop.
Save broady/ff1c5220d724060f3396ca418dad1510 to your computer and use it in GitHub Desktop.
aedeploy gcloud alpha container builds create --config cloudbuild.yaml .
steps:
- name: gcr.io/cloud-builders/go
args: ['build', '-o', 'app']
env:
- 'GOPATH=_gopath'
- name: gcr.io/cloud-builders/dockerizer
args: ['gcr.io/$PROJECT_ID/simple-app']
images: ['gcr.io/$PROJECT_ID/simple-app']
FROM alpine
RUN apk add --update ca-certificates
COPY app /app
ENTRYPOINT /app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment