Fix AWS CLI on PATH for Debian 12; install v2
This commit is contained in:
parent
c97f0cc4dd
commit
a71a56bbb5
1 changed files with 6 additions and 2 deletions
|
|
@ -7,10 +7,14 @@ RUN set -x \
|
||||||
&& echo 'deb-src http://deb.debian.org/debian bookworm main' >> /etc/apt/sources.list \
|
&& echo 'deb-src http://deb.debian.org/debian bookworm main' >> /etc/apt/sources.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y curl gcc libcurl4-openssl-dev libicu-dev \
|
&& apt-get install -y curl gcc libcurl4-openssl-dev libicu-dev \
|
||||||
libopenblas0 libpcre2-dev make pipx wget \
|
libopenblas0 libpcre2-dev make unzip wget \
|
||||||
&& apt-get build-dep -y r-base
|
&& apt-get build-dep -y r-base
|
||||||
|
|
||||||
RUN pipx install awscli && pipx ensurepath
|
# Install AWS CLI
|
||||||
|
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
|
||||||
|
unzip awscliv2.zip && \
|
||||||
|
./aws/install && \
|
||||||
|
rm -rf aws awscliv2.zip
|
||||||
|
|
||||||
RUN chmod 0777 /opt
|
RUN chmod 0777 /opt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue