Skip to content

Commit

Permalink
Add ectdctl to the backup image
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulik committed Dec 18, 2022
1 parent c32ba39 commit 1e37662
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ RUN apk add --no-cache alpine-sdk &&\
FROM base

RUN apk add --no-cache postgresql15-client restic
ENV ECTD_VERSION v3.5.6

RUN wget -qO- https://github.com/etcd-io/etcd/releases/download/${ECTD_VERSION}/etcd-${ECTD_VERSION}-linux-amd64.tar.gz | tar -xvz &&\
mv etcd-${ECTD_VERSION}-linux-amd64/etcdctl /bin &&\
rm -rf etcd-${ECTD_VERSION}-linux-amd64

COPY --from=builder /workdir/Gemfile.lock .
COPY --from=builder /workdir/vendor/ ./vendor/

0 comments on commit 1e37662

Please sign in to comment.