Skip to content

Commit

Permalink
Install aws cli via installer rather than apt package because noble d…
Browse files Browse the repository at this point in the history
…oes not have an apt package for it
  • Loading branch information
jpalermo committed Mar 1, 2025
1 parent 38334fa commit 05474e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci/dockerfiles/integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RUN apt-get update -y \
locales \
unzip \
qemu-utils \
awscli \
azure-cli \
build-essential \
coreutils \
Expand Down Expand Up @@ -146,3 +145,10 @@ RUN uaa_tgz="/usr/local/uaa.tgz" \
&& rm -rf /tmp/uaa-*
ENV JAVA_HOME="${JAVA_INSTALL_PREFIX}"
ENV PATH=${JAVA_HOME}/bin:${PATH}

# AWS CLI package exists for Jammy, but not for Noble
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
&& unzip awscliv2.zip \
&& ./aws/install \
&& rm -rf ./aws \
&& rm awscliv2.zip

0 comments on commit 05474e9

Please sign in to comment.