Skip to content

Commit

Permalink
Cleanup output
Browse files Browse the repository at this point in the history
Signed-off-by: adobrodey <[email protected]>
  • Loading branch information
ADobrodey committed Jun 11, 2024
1 parent 1cfdb52 commit 21bdf89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gh-actions/actions-runner-dind/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ USER root

ARG KUBECTL_VERSION=1.30.1
RUN \
curl -LO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/$(uname -m)/kubectl" \
curl -sLO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/$(uname -m)/kubectl" \
&& install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

ARG AWS_CLI_VERSION=2.15.61
RUN \
if [ "$(uname -m)" = "arm64" ]; then export TARGETARCH="aarch64"; else export TARGETARCH="x86_64"; fi \
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-${TARGETARCH}-${AWS_CLI_VERSION}.zip" -o "awscliv2.zip" \
&& curl -sL "https://awscli.amazonaws.com/awscli-exe-linux-${TARGETARCH}-${AWS_CLI_VERSION}.zip" -o "awscliv2.zip" \
&& unzip -qq awscliv2.zip \
&& ./aws/install > /dev/null \
&& rm -rf \
Expand All @@ -24,4 +24,5 @@ USER runner

RUN \
aws --version \
&& echo "$TARGETARCH" \
&& kubectl version --client

0 comments on commit 21bdf89

Please sign in to comment.