Back to home page

EIC code displayed by LXR

 
 

    


Warning, /jana2/containers/Docker/gluex.Dockerfile is written in an unsupported language. File is not indexed.

0001 #
0002 # Dockerfile - docker build script for a standard GlueX sim-recon 
0003 #              container image based on alma linux 9.
0004 #
0005 # author: richard.t.jones at uconn.edu
0006 # version: october 17 2023
0007 #
0008 # usage: [as root] $ docker build Dockerfile .
0009 #
0010 
0011 FROM almalinux:9
0012 
0013 
0014 # Add JLab CA certificate
0015 ADD http://pki.jlab.org/JLabCA.crt /etc/pki/ca-trust/source/anchors/JLabCA.crt
0016 # Update CA certificates
0017 RUN chmod 644 /etc/pki/ca-trust/source/anchors/JLabCA.crt && update-ca-trust
0018 
0019 
0020 # install the necessary yum repositories
0021 RUN dnf -y update
0022 RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
0023 RUN grep 'enabled=1' /etc/yum.repos.d/epel.repo
0024 RUN /usr/bin/crb enable
0025 # RUN dnf -y install https://repo.opensciencegrid.org/osg/3.6/osg-3.6-el9-release-latest.rpm
0026 # RUN grep 'enabled=1' /etc/yum.repos.d/osg.repo
0027 
0028 # install a few utility rpms
0029 RUN dnf -y install dnf dnf-plugins-core
0030 RUN dnf -y install python-unversioned-command
0031 RUN dnf -y install subversion cmake make imake python3-scons patch git
0032 RUN dnf -y install libtool which bc nano nmap-ncat xterm emacs gdb wget
0033 RUN dnf -y install gcc-c++ gcc-gfortran boost-devel gdb-gdbserver
0034 RUN dnf -y install bind-utils blas blas-devel dump file tcsh expat-devel
0035 RUN dnf -y install libXt-devel openmotif-devel libXpm-devel bzip2-devel
0036 RUN dnf -y install perl-XML-Simple perl-XML-Writer perl-File-Slurp
0037 RUN dnf -y install mesa-libGLU-devel gsl-devel python3-future python3-devel
0038 RUN dnf -y install xrootd-client-libs xrootd-client libXi-devel neon
0039 RUN dnf -y install mariadb mariadb-devel python3-mysqlclient python3-psycopg2
0040 RUN dnf -y install fmt-devel libtirpc-devel atlas rsync vim
0041 RUN dnf -y install gfal2-all gfal2-devel gfal2-plugin-dcap gfal2-plugin-gridftp gfal2-plugin-srm
0042 RUN dnf -y install hdf5 hdf5-devel pakchois perl-Test-Harness sqlite sqlite-devel
0043 RUN dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel java-11-openjdk-devel
0044 RUN dnf -y install java-17-openjdk-devel java-latest-openjdk-devel java-hdf5 java-runtime-decompiler
0045 RUN dnf -y install lapack lapack-devel openmpi openmpi-devel xalan-j2
0046 RUN dnf -y install openssh-server postgresql-server-devel postgresql-upgrade-devel
0047 RUN dnf -y install procps-ng strace ucx valgrind xerces-c xerces-c-devel xerces-c-doc
0048 RUN dnf -y install qt5 qt5-qtx11extras qt5-devel openblas-devel libnsl2-devel
0049 
0050 
0051 # install the osg worker node client packages
0052 # RUN dnf -y install osg-ca-certs
0053 # RUN dnf -y install osg-wn-client
0054 RUN dnf -y install python3-h5py python3-scipy python3-tqdm
0055 
0056 # install some dcache client tools
0057 RUN dnf -y install https://zeus.phys.uconn.edu/halld/gridwork/dcache-srmclient-3.0.11-1.noarch.rpm
0058 
0059 #Installing cvmfs
0060 RUN dnf -y install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm \
0061     && dnf -y install cvmfs cvmfs-config-default \
0062     && echo "CVMFS_HTTP_PROXY=DIRECT" | tee -a /etc/cvmfs/default.local \
0063     && echo "CVMFS_REPOSITORIES=oasis.opensciencegrid.org,singularity.opensciencegrid.org" | tee -a /etc/cvmfs/default.local \
0064     && echo "CVMFS_CLIENT_PROFILE=single" | tee -a /etc/cvmfs/default.local \
0065     && dnf clean all
0066 
0067 # Fix for Silverblue's toolbox utility
0068 RUN dnf -y install passwd sudo
0069 RUN touch /.dockerenv