Created
September 30, 2017 22:04
-
-
Save ams0/8729cfca4e966d0b860df1760d4a7f43 to your computer and use it in GitHub Desktop.
multistage acs-engine-light
This file contains hidden or 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 | |
ENV GOPATH /gopath | |
ENV PATH "${PATH}:${GOPATH}/bin" | |
# change Azure to another source if you need | |
RUN go get -d -v github.com/Azure/acs-engine ; exit 0 # Workaround for issues #1068 | |
WORKDIR /gopath/src/github.com/Azure/acs-engine | |
#RUN git checkout <branch> if you need to work with a branch | |
RUN make bootstrap | |
RUN make build | |
FROM ubuntu | |
COPY --from=0 /gopath/src/github.com/Azure/acs-engine/bin/acs-engine /acs-engine | |
CMD ["/acs-engine version"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment