Skip to content

Commit

Permalink
Merge pull request #3 from shoplineapp/add-argo-rollout
Browse files Browse the repository at this point in the history
upgrade aws cli and add rollout plugin
  • Loading branch information
bluesky6529 authored Nov 17, 2022
2 parents 0e83818 + 93542ac commit 0da3ab1
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,33 @@ RUN apk add --update --no-cache -t \
ca-certificates \
curl \
python2 \
py-pip \
jq \
git \
openssh \
unzip \
groff \
less \
mailcap \
bash \
&& pip install --upgrade pip \
&& pip install --no-cache-dir awscli==1.16.270 \
&& apk del py-pip \
&& rm -rf /var/cache/apk/* /root/.cache/pip/*
&& curl -sL -o /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
&& curl -sL -o glibc-2.28-r0.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk \
&& apk add glibc-2.28-r0.apk \
&& curl -sL -o glibc-bin-2.28-r0.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-bin-2.28-r0.apk \
&& apk add glibc-bin-2.28-r0.apk \
&& curl -sL -o awscliv2.zip https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.7.33.zip \
&& unzip awscliv2.zip \
&& ./aws/install \
&& rm -Rf aws/ awscliv2.zip glibc-2.28-r0.apk glibc-bin-2.28-r0.apk \
&& rm -rf /var/cache/apk/* /root/.cache/pip/* \
&& aws --version

# kubectl
RUN curl -LO https://dl.k8s.io/release/v1.21.0/bin/linux/amd64/kubectl \
&& install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# argo rollout plugin
RUN curl -LO https://github.com/argoproj/argo-rollouts/releases/download/v1.3.1/kubectl-argo-rollouts-linux-amd64 \
&& chmod +x ./kubectl-argo-rollouts-linux-amd64 \
&& mv ./kubectl-argo-rollouts-linux-amd64 /usr/local/bin/kubectl-argo-rollouts
# gomplate
RUN curl -LO https://github.com/hairyhenderson/gomplate/releases/download/v3.6.0/gomplate_linux-amd64-slim \
&& chmod +x ./gomplate_linux-amd64-slim \
Expand Down

0 comments on commit 0da3ab1

Please sign in to comment.