-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add recipe for Ubuntu 20.04 container with Python 2.7
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM ubuntu:20.04 | ||
RUN useradd -ms /bin/bash easybuild | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt update \ | ||
&& apt install -y curl python2 python-pip-whl \ | ||
&& 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 | ||
# debianutils provides 'which' command | ||
RUN apt install -y bzip2 debianutils diffutils file gcc g++ git gzip libibverbs-dev openssl libssl-dev make patch sudo tar unzip xz-utils | ||
RUN python2 -m pip install archspec==0.1.4 |