From 81e5562ead12d1376f6eadff53ce36339dd3599a Mon Sep 17 00:00:00 2001 From: arekkas Date: Mon, 6 Nov 2017 23:44:22 +0100 Subject: [PATCH] Move gatekeeper to $PATH in docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4411838c5..5708f2fea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ 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 +COPY --from=0 /go/src/github.com/ory/oathkeeper/oathkeeper /usr/bin/oathkeeper -ENTRYPOINT ["/oathkeeper"] +ENTRYPOINT ["oathkeeper"]