Skip to content

Commit

Permalink
Fix docker build.
Browse files Browse the repository at this point in the history
  • Loading branch information
petr-korobeinikov committed Sep 13, 2021
1 parent a0d9648 commit f11f023
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit f11f023

Please sign in to comment.