Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbilie authored Nov 2, 2024
1 parent 3c71cd1 commit 7b9428c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN chmod +x /usr/local/bin/jenkins-agent && \
ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave

ARG TF_VERSION=1.3.4
ARG KUBECTL_VERSION=v1.22.17
ARG AWS_IAM_AUTH_VERSION=0.5.7

# Update packages and install general dependencies
Expand All @@ -31,7 +32,10 @@ RUN which terraform
RUN terraform version

# install kubectl
RUN snap install kubectl --channel=1.22/stable --classic
RUN curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
RUN curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256"
RUN echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
RUN which kubectl

# install aws cli
Expand Down

0 comments on commit 7b9428c

Please sign in to comment.