Skip to content

Commit

Permalink
Merge pull request #174 from rstudio/glin-debian12-aws
Browse files Browse the repository at this point in the history
Fix AWS CLI on PATH for Debian 12; install v2
  • Loading branch information
glin authored Jul 6, 2023
2 parents c97f0cc + a71a56b commit cd3961e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions builder/Dockerfile.debian-12
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ RUN set -x \
&& echo 'deb-src http://deb.debian.org/debian bookworm main' >> /etc/apt/sources.list \
&& apt-get update \
&& 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

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

Expand Down

0 comments on commit cd3961e

Please sign in to comment.