From f11f0236b22299496b96e65c05af77a3f602308b Mon Sep 17 00:00:00 2001 From: Petr Korobeinikov Date: Mon, 13 Sep 2021 14:19:06 +0300 Subject: [PATCH] Fix docker build. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6ddabc..75e95fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,13 @@ FROM alpine AS builder ARG KLEPTO_VERSION RUN apk add --no-cache openssl tar \ - && wget -O klepto.tar.gz https://github.com/hellofresh/klepto/releases/download/${KLEPTO_VERSION}/klepto_linux-amd64.tar.gz \ + && wget -O klepto.tar.gz https://github.com/hellofresh/klepto/releases/download/v${KLEPTO_VERSION}/klepto_${KLEPTO_VERSION}_linux_amd64.tar.gz \ && tar -xzf klepto.tar.gz -C /tmp # --- FROM scratch -COPY FROM builder /tmp/klepto_linux-amd64 / +COPY --from=builder /tmp/klepto / -ENTRYPOINT ["/klepto_linux-amd64"] +ENTRYPOINT ["/klepto"]