Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Commit f0d122e

Browse files
authoredJun 21, 2021
fix: removes installing AWS CLI V2 since geodesic latest includes it (#8)
1 parent 6ab328e commit f0d122e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed
 

‎Dockerfile

-15
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@ ARG CLI_NAME=tutorials
44

55
FROM cloudposse/geodesic:$VERSION-$OS
66

7-
# Move AWS CLI v1 to aws1 and set up alternatives
8-
RUN mv /usr/local/bin/aws /usr/local/bin/aws1 && \
9-
update-alternatives --install /usr/local/bin/aws aws /usr/local/bin/aws1 1
10-
11-
# Install AWS CLI 2
12-
# Get version from https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst
13-
ARG AWS_CLI_VERSION=2.1.34
14-
RUN AWSTMPDIR=$(mktemp -d -t aws-inst-XXXXXXXXXX) && \
15-
curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip" -o "$AWSTMPDIR/awscliv2.zip" && \
16-
cd $AWSTMPDIR && \
17-
unzip -qq awscliv2.zip && \
18-
./aws/install -i /usr/share/aws/v2 -b /usr/share/aws/v2/bin && \
19-
update-alternatives --install /usr/local/bin/aws aws /usr/share/aws/v2/bin/aws 2 && \
20-
rm -rf $AWSTMPDIR
21-
227
# Install ubuntu universe repo so we can install more helpful packages
238
RUN apt-get install -y software-properties-common && \
249
add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic universe" && \

0 commit comments

Comments
 (0)
This repository has been archived.