Add aws-cli to gitlab charts base image

This is so we can switch to this image for the charts helm repo which
uses s3 storage
This commit is contained in:
DJ Mountney 2021-06-22 11:32:58 -07:00
parent ea8efa68bc
commit 52c4d31eab
No known key found for this signature in database
GPG key ID: F07F8D51346CF0B6
2 changed files with 11 additions and 4 deletions

View file

@ -10,7 +10,7 @@ ENV KUBECTL_VERSION=1.16.4
ENV KUBECTL_URL=https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
# Install dependencies
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python2\
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python2 py-pip groff\
&& mkdir -p /opt
# Install kubectl
@ -24,6 +24,9 @@ RUN wget -q -O - ${HELM_URL} | tar zxf - \
&& chmod +x /usr/bin/helm \
&& helm version --client
#Install kubeval
# Install kubeval
RUN mkdir -p $HELM_HOME/plugins && \
helm plugin install https://github.com/instrumenta/helm-kubeval
# Install aws cli
RUN pip install awscli