Skip to content

Commit

Permalink
Update kanister tools docker file to remove installation of awscli, p…
Browse files Browse the repository at this point in the history
…ip and python (#5116)

* Update tools dockerfile to remove awscli install

* upgrade Restic version
  • Loading branch information
SupriyaKasten authored and Ilya Kislenko committed Mar 6, 2019
1 parent 263af42 commit 18dbeb3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docker/tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM busybox:glibc as restbox

# Get restic executable
ENV RESTIC_VERSION=0.9.1
ENV RESTIC_VERSION=0.9.4
ADD https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2 /
RUN bzip2 -d restic_${RESTIC_VERSION}_linux_amd64.bz2 && mv restic_${RESTIC_VERSION}_linux_amd64 /bin/restic && chmod +x /bin/restic

Expand All @@ -10,10 +10,7 @@ MAINTAINER Tom Manville <tom@kasten.io>

COPY --from=restbox /bin/restic /bin/restic

RUN apk -v --update add --no-cache bash curl python py-pip groff less mailcap ca-certificates && \
pip install --upgrade pip && \
pip install --upgrade awscli && \
apk -v --purge del py-pip && \
RUN apk -v --update add --no-cache bash curl groff less mailcap ca-certificates && \
rm -f /var/cache/apk/*

RUN curl https://raw.githubusercontent.com/kanisterio/kanister/master/scripts/get.sh | bash
Expand Down

0 comments on commit 18dbeb3

Please sign in to comment.