Skip to content

Commit

Permalink
install pip for Python 2 in Ubuntu 20.04 via get-pip.py
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Aug 30, 2023
1 parent c436975 commit 3c38ff3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ubuntu-20.04-python2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ RUN useradd -ms /bin/bash easybuild
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt install -y curl python2 python-pip-whl \
&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
&& python2 get-pip.py \
&& LMOD_VERSION=8.6.12 \
&& curl -OL https://github.com/surak/Lmod/releases/download/${LMOD_VERSION}/lmod_${LMOD_VERSION}_all.deb \
&& apt install -y ./lmod_${LMOD_VERSION}_all.deb
Expand Down

0 comments on commit 3c38ff3

Please sign in to comment.