parent
e2d47b0eec
commit
3931d81e78
|
@ -1,9 +1,8 @@
|
|||
FROM golang:alpine as builder
|
||||
RUN apk add git
|
||||
COPY main.go /go/src/github.com/discourse/discourse-auth-proxy/
|
||||
RUN cd /go/src/github.com/discourse/discourse-auth-proxy \
|
||||
&& go get \
|
||||
&& go build
|
||||
WORKDIR /go/src/github.com/discourse/discourse-auth-proxy
|
||||
RUN go get && go build
|
||||
|
||||
FROM alpine:latest
|
||||
COPY --from=builder /go/bin/discourse-auth-proxy /bin/
|
||||
|
|
Loading…
Reference in New Issue