Skip to content

Commit 50f1b04

Browse files
authored
Make awscli installation architecture dependent (#53)
1 parent 75989d4 commit 50f1b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jenkins-agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN python3 -m pip install --user --no-cache-dir -U pylint pytest checkov awscli
2828
FROM jenkins/ssh-agent:4.1.0-jdk11
2929
RUN apt-get update && \
3030
apt-get -y --no-install-recommends install unzip python3 npm git curl jq make && \
31-
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
31+
curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
3232
unzip awscliv2.zip && \
3333
apt-get -y purge unzip && \
3434
/home/jenkins/aws/install && \

0 commit comments

Comments
 (0)