mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-21 10:17:22 +02:00
fix(docker): simplify build by copying ca-certificates.crt
This commit is contained in:
+1
-3
@@ -16,9 +16,7 @@ RUN ./configure && GOARCH=arm GOARM=6 make build
|
||||
|
||||
# Copy binary to alpine
|
||||
FROM arm32v6/alpine:3.8
|
||||
COPY dist/qemu-arm-static /usr/bin/
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=builder /go/src/github.com/pusher/oauth2_proxy/oauth2_proxy /bin/oauth2_proxy
|
||||
RUN rm /usr/bin/qemu-*-static -f
|
||||
|
||||
ENTRYPOINT ["/bin/oauth2_proxy"]
|
||||
|
||||
Reference in New Issue
Block a user