Created
May 2, 2017 03:15
-
-
Save moemoe89/ebda42409d624765dde566e1d5a2686d to your computer and use it in GitHub Desktop.
Dockerfile for Go-Lang binary only
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 golang:1.8.1 | |
ENV GO_PROJECT /go/src/gitlab.com/go-practice-ci | |
ENV BIN_NAME go-practice-ci | |
RUN mkdir -p ${GO_PROJECT} | |
WORKDIR ${GO_PROJECT} | |
COPY ${BIN_NAME} ${GO_PROJECT} | |
ENTRYPOINT ["./go-practice-ci"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment