Skip to content

Commit

Permalink
restore 38-devel, pip
Browse files Browse the repository at this point in the history
  • Loading branch information
akarve committed Sep 1, 2021
1 parent b01f2ee commit a739c4d
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ FROM amazonlinux:2

# Need to set "ulimit -n" to a small value to stop yum from hanging:
# https://bugzilla.redhat.com/show_bug.cgi?id=1715254#c1
RUN ulimit -n 1024 && yum -y update && yum -y install \
git \
gcc \
python38 \
python38-pip \
python38-devel \
jq \
nano \
unzip \
zip \
&& yum clean all
# See the following for installing 3.8 via yum on amazon-linux
# https://techviewleo.com/how-to-install-python-on-amazon-linux/
RUN ulimit -n 1024 \
&& amazon-linux-extras enable python3.8 && yum clean metadata \
&& yum -y update && yum -y install \
git \
gcc \
python38 \
python38-devel \
jq \
nano \
unzip \
zip \
&& yum clean all

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1

COPY requirements.txt quilt/requirements.txt

Expand Down

0 comments on commit a739c4d

Please sign in to comment.