Last active
December 16, 2016 00:52
-
-
Save broady/ff1c5220d724060f3396ca418dad1510 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aedeploy gcloud alpha container builds create --config cloudbuild.yaml . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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