Skip to content

Commit

Permalink
Merge pull request #131 from pkorobeinikov/master
Browse files Browse the repository at this point in the history
Fix docker build.
  • Loading branch information
lucasmdrs authored Sep 16, 2021
2 parents a0d9648 + f11f023 commit 3da14dd
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 3da14dd

Please sign in to comment.