Created
December 20, 2018 04:31
-
-
Save liangrog/e46572693ef25ddf27b2ab296360978e to your computer and use it in GitHub Desktop.
kce-bin-dockerfile
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:1.11.2 | |
ENV GO111MODULE=off | |
RUN go get k8s.io/code-generator; exit 0 | |
RUN go get k8s.io/apimachinery; exit 0 | |
ARG repo="${GOPATH}/src/github.com/superman/demo" | |
RUN mkdir -p $repo | |
WORKDIR $GOPATH/src/k8s.io/code-generator | |
VOLUME $repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment