File tree Expand file tree Collapse file tree
.github/docker-images/ubuntu-18-x64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ RUN apt-get update -qq \
1111 curl \
1212 sudo \
1313 unzip \
14- # Ubuntu18's default python3 is python3.6, which is EOL.
15- # So install python3.8 (latest version on this distro, circa Oct 2022)
16- python3.8-dev \
17- python3.8-venv \
18- # This installs pip for all python versions on the system
19- # (there is no "python3.8-pip")
14+ # Ubuntu18's default python3 is python3.6, we will install Python 3.10
15+ software-properties-common \
16+ && add-apt-repository ppa:deadsnakes/ppa \
17+ && apt-get update \
18+ && apt-get -y install \
19+ python3.10-dev \
20+ python3.10-venv \
2021 python3-pip \
2122 build-essential \
22- # For PPAs
23- software-properties-common \
2423 apt-transport-https \
2524 ca-certificates \
26- && apt-get clean
25+ && apt-get clean \
26+ && ln -sf /usr/bin/python3.10 /usr/bin/python3
2727
2828# Add the longsleep/golang-backports PPA
2929RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:longsleep/golang-backports && apt-get update
@@ -36,7 +36,7 @@ RUN apt-get install -y golang-go
3636# ##############################################################################
3737WORKDIR /tmp
3838
39- RUN python3.8 -m pip install setuptools \
39+ RUN python3 -m pip install setuptools \
4040 && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o awscliv2.zip \
4141 && unzip awscliv2.zip \
4242 && sudo aws/install \
You can’t perform that action at this time.
0 commit comments