-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
103 additions
and
1 deletion.
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,95 @@ | ||
FROM nvidia/cuda:11.0.3-cudnn8-devel-rockylinux8 | ||
|
||
LABEL opensciencegrid.name="Rock 8 / CUDA 11.0.3" | ||
LABEL opensciencegrid.description="Enterprise Linux (Rocky) 8 / CUDA 11.0.3 image" | ||
LABEL opensciencegrid.url="https://rockylinux.org/" | ||
LABEL opensciencegrid.category="Base" | ||
LABEL opensciencegrid.definition_url="https://github.com/ospool-images" | ||
|
||
# base dnf/yum setup | ||
RUN dnf -y update && \ | ||
dnf -y install 'dnf-command(config-manager)' && \ | ||
yum -y config-manager --set-enabled powertools && \ | ||
dnf -y install epel-release | ||
|
||
# osg repo | ||
RUN dnf -y install https://repo.opensciencegrid.org/osg/3.6/osg-3.6-el8-release-latest.rpm | ||
|
||
# pegasus repo - not available yet | ||
RUN echo -e "# Pegasus\n[Pegasus]\nname=Pegasus\nbaseurl=http://download.pegasus.isi.edu/wms/download/rhel/8/\$basearch/\ngpgcheck=0\nenabled=1\npriority=50" >/etc/yum.repos.d/pegasus.repo | ||
|
||
# well rounded basic system to support a wide range of user jobs | ||
RUN dnf -y groupinstall "Development Tools" \ | ||
"Scientific Support" | ||
|
||
RUN dnf -y install --allowerasing --enablerepo=osg-testing \ | ||
redhat-lsb \ | ||
bc \ | ||
binutils \ | ||
binutils-devel \ | ||
coreutils \ | ||
curl \ | ||
fontconfig \ | ||
gcc \ | ||
gcc-c++ \ | ||
gcc-gfortran \ | ||
git \ | ||
glib2-devel \ | ||
glibc-langpack-en \ | ||
glibc-locale-source \ | ||
graphviz \ | ||
gsl-devel \ | ||
java-11-openjdk \ | ||
java-11-openjdk-devel \ | ||
jq \ | ||
libgfortran \ | ||
libGLU \ | ||
libgomp \ | ||
libicu \ | ||
libquadmath \ | ||
libtool \ | ||
libtool-ltdl \ | ||
libtool-ltdl-devel \ | ||
libX11-devel \ | ||
libXaw-devel \ | ||
libXext-devel \ | ||
libXft-devel \ | ||
libxml2 \ | ||
libxml2-devel \ | ||
libXmu-devel \ | ||
libXpm \ | ||
libXpm-devel \ | ||
libXt \ | ||
mesa-libGL-devel \ | ||
openssh \ | ||
openssh-server \ | ||
osg-ca-certs \ | ||
osg-wn-client \ | ||
pegasus \ | ||
python3-devel \ | ||
python3-numpy \ | ||
python3-scipy \ | ||
redhat-lsb-core \ | ||
rsync \ | ||
stashcp \ | ||
subversion \ | ||
tcl-devel \ | ||
tcsh \ | ||
time \ | ||
tk-devel \ | ||
wget \ | ||
which | ||
|
||
# Cleaning caches to reduce size of image | ||
RUN dnf clean all | ||
|
||
# make sure we have a way to bind host provided libraries | ||
# see https://github.com/singularityware/singularity/issues/611 | ||
RUN mkdir -p /host-libs /etc/OpenCL/vendors | ||
|
||
RUN mkdir -p /.singularity.d | ||
COPY osg-labels.json /.singularity.d/labels.json | ||
|
||
# build info | ||
RUN echo "Timestamp:" `date --utc` | tee /image-build-info.txt | ||
|
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,7 @@ | ||
{ | ||
"opensciencegrid.name": "Rocky Linux 8 with CUDA 11.0.3", | ||
"opensciencegrid.description": "Enterprise Linux (Rocky) 8 base image, with CUDA 11.0.3", | ||
"opensciencegrid.url": "https://rockylinux.org/", | ||
"opensciencegrid.category": "Base", | ||
"opensciencegrid.definition_url": "https://github.com/osg-htc/htc-images" | ||
} |