Skip to content

Commit

Permalink
Merge pull request #177 from lauripiispanen/master
Browse files Browse the repository at this point in the history
Update AWS CLI to v2
  • Loading branch information
myoung34 authored Jan 24, 2022
2 parents 8810c62 + 31c719a commit 20afe92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN echo en_US.UTF-8 UTF-8 >> /etc/locale.gen \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${GIT_CORE_PPA_KEY} \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
awscli \
curl \
tar \
unzip \
Expand Down Expand Up @@ -46,7 +45,9 @@ RUN echo en_US.UTF-8 UTF-8 >> /etc/locale.gen \
&& ( apt-get install -y --no-install-recommends git || apt-get install -t stable -y --no-install-recommends git || apt-get install -y --no-install-recommends git=1:2.33.1-0ppa1~ubuntu18.04.1 git-man=1:2.33.1-0ppa1~ubuntu18.04.1 ) \
&& ( [[ $(apt-cache search -n liblttng-ust0 | awk '{print $1}') == "liblttng-ust0" ]] && apt-get install -y --no-install-recommends liblttng-ust0 || : ) \
&& ( [[ $(apt-cache search -n liblttng-ust1 | awk '{print $1}') == "liblttng-ust1" ]] && apt-get install -y --no-install-recommends liblttng-ust1 || : ) \
&& pip3 install --no-cache-dir awscliv2 \
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" \
&& unzip awscliv2.zip -d /tmp/ \
&& /tmp/aws/install \
# Determine the Distro name (Debian, Ubuntu, etc)
&& distro=$(lsb_release -is | awk '{print tolower($0)}') \
# Determine the Distro version (bullseye, xenial, etc)
Expand Down

0 comments on commit 20afe92

Please sign in to comment.