Created
June 21, 2019 01:35
-
-
Save jasongerard/56e92feecdad1c6b3640ad4cc479893d 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
docker build -t golang-static-base:1.11.4 -f buildbase.Dockerfile . | |
docker build -t app-build -f Dockerfile . && \ | |
docker create --name app-container app-build && \ | |
docker cp app-container:/go/src/app/app.o ./app.o && \ | |
docker rm -f app-container && \ | |
docker rmi -f app-build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment