Created
January 14, 2021 23:59
-
-
Save brianpgerson/b0f2106bbe7e7c6e04831651d712fe52 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
FROM golang:latest as builder | |
COPY . /extauth_http | |
WORKDIR /extauth_http | |
ENV GO111MODULE=on | |
RUN CGO_ENABLED=0 GOOOS=linux go build -o httpauthexec ./extauth_http/main.go | |
FROM alpine:latest | |
WORKDIR /root/ | |
COPY --from=builder /extauth_http . | |
CMD ["./httpauthexec"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment