Skip to content

Commit

Permalink
Update dependencies and add velero bin
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
  • Loading branch information
arthurbdiniz committed Jan 16, 2021
1 parent ae40bad commit 98fc471
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ RUN apk --no-cache update && \
bash=5.0.17-r0 \
ca-certificates=20191127-r4 \
git=2.26.2-r0 \
openssl=1.1.1g-r0 \
openssl=1.1.1i-r0 \
unzip=6.0-r8 \
curl=7.69.1-r1 \
curl=7.69.1-r3 \
make=4.3-r0 \
tar=1.32-r1 \
python3=3.8.5-r0 \
py-pip=20.1.1-r0 \
py-setuptools=47.0.0-r0 \
Expand All @@ -25,7 +26,7 @@ RUN apk --no-cache update && \
gettext-dev=0.20.2-r0 \
g++=9.3.0-r2 \
zip=3.0-r8 && \
python3 -m pip install --upgrade pip==20.2.4 && \
python3 -m pip install --upgrade pip==20.3.3 && \
python3 -m pip --no-cache-dir install awscli==$AWSCLI_VERSION && \
update-ca-certificates && \
rm -rf /var/tmp/ && \
Expand All @@ -40,4 +41,11 @@ RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v${KUBECT
# Helm
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
chmod 700 get_helm.sh && \
./get_helm.sh
./get_helm.sh

# Velero
RUN curl -LO https://github.com/vmware-tanzu/velero/releases/download/v1.5.3/velero-v1.5.3-linux-amd64.tar.gz && \
tar -xvzf velero-v1.5.3-linux-amd64.tar.gz && \
chmod +x ./velero-v1.5.3-linux-amd64/velero && \
mv ./velero-v1.5.3-linux-amd64/velero /usr/local/bin/velero && \
rm -rf ./velero-v1.5.3-linux-amd64

0 comments on commit 98fc471

Please sign in to comment.