diff --git a/Dockerfile b/Dockerfile index cb56d60576..4411838c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -X github.com/or FROM scratch +COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=0 /go/src/github.com/ory/oathkeeper/oathkeeper /oathkeeper ENTRYPOINT ["/oathkeeper"]