Skip to content

Commit

Permalink
Updated awscli install
Browse files Browse the repository at this point in the history
Added helm to the image
Removed deprecated TG version install
  • Loading branch information
Joeri Malmberg committed Nov 21, 2023
1 parent f60fa60 commit 808bcc4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
FROM alpine:3.17.2

RUN apk update
RUN apk add --no-cache curl git bash jq python3 py3-pip aws-cli
RUN pip3 install --upgrade pip \
&& pip3 install --no-cache-dir \
awscli \
&& rm -rf /var/cache/apk/*
RUN apk update && apk upgrade
RUN apk add --no-cache curl git bash jq yq python3 py3-pip aws-cli
RUN pip3 install --upgrade pip
RUN rm -rf /var/cache/apk/*

RUN curl -sSL https://sdk.cloud.google.com > /tmp/gcl && bash /tmp/gcl --install-dir=~/gcloud --disable-prompts

RUN git clone https://github.com/tfutils/tfenv.git ~/.tfenv
RUN git clone https://github.com/cunymatthieu/tgenv.git ~/.tgenv

RUN curl -fsSL -o helm-v3.13.2-linux-amd64.tar.gz https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz
RUN tar -zxvf helm-v3.13.2-linux-amd64.tar.gz
RUN mv linux-amd64/helm /usr/local/bin/helm

ENV TGENV_AUTO_INSTALL=true

RUN ln -s ~/.tgenv/bin/* /usr/local/bin
Expand All @@ -24,4 +26,4 @@ RUN /usr/local/bin/tfenv install 1.1.9
RUN /usr/local/bin/tfenv install 1.3.5
RUN /usr/local/bin/tfenv install 1.4.6
RUN /usr/local/bin/tgenv install latest
RUN /usr/local/bin/tgenv install 0.38.9

0 comments on commit 808bcc4

Please sign in to comment.