Skip to content

Commit 6ba45b2

Browse files
committed
Upgrade to python 3.8
1 parent 145c818 commit 6ba45b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

aws-cli/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ ARG USER_NAME=default
66
ARG USER_HOME=/home/default
77
ARG USER_ID=1000
88

9+
# Upgrade python to 3.8 (best we can do with Amazon Linux 2)
10+
RUN yum remove python3 \
11+
&& amazon-linux-extras install python3.8 \
12+
&& ln -s /usr/bin/python3.8 /usr/bin/python3 \
13+
&& ln -s /usr/bin/pydoc3.8 /usr/bin/pydoc
14+
915
# hadolint ignore=DL3033
1016
RUN yum update -y \
1117
&& yum install -y bash curl git jq make python3-pip tar unzip xmlstarlet zip \

0 commit comments

Comments
 (0)