From e6a532f9f683b090aec1cc2b9db217323f4677fd Mon Sep 17 00:00:00 2001 From: zhogov Date: Wed, 4 Dec 2019 15:31:32 -0500 Subject: [PATCH] Change binary name in Docker image to iap_curl Change binary name in Docker image to iap_curl so it can be used in CI tools like Jenkins and DroneCI --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 409012f..882151b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,9 +40,9 @@ COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /etc/passwd /etc/passwd -COPY --from=builder /go/bin/app /go/bin/app +COPY --from=builder /go/bin/app /bin/iap_curl # Use an unprivileged user. USER app -ENTRYPOINT ["/go/bin/app"] +ENTRYPOINT ["/bin/iap_curl"]