Created
July 28, 2019 12:05
-
-
Save alicek106/28eeddf45432b083feaf965a84bcf7ad to your computer and use it in GitHub Desktop.
Dockerfile for Dex App (k8s)
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
# build stage | |
FROM golang:1.12.7-alpine | |
RUN apk add build-base git | |
RUN go get github.com/dexidp/dex; exit 0 | |
WORKDIR src/github.com/dexidp/dex | |
RUN make | |
# final stage | |
FROM alpine | |
COPY --from=0 /go/src/github.com/dexidp/dex/bin/example-app / | |
ENTRYPOINT ./example-app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment