Warning, /tools/ci/docker/centos/Dockerfile is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit 93f4e5fc on 2024-08-07 13:23:31 UTC
477590b42d chri*0001 FROM centos:centos7
0002 LABEL maintainer=mitgcm-devel@mitgcm.org
0003
93f4e5fc13 Oliv*0004 RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
0005 RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
0006 RUN yum -y update
0007 RUN yum clean all
0008 RUN yum -y install epel-release wget csh python3
0009 RUN yum clean all
477590b42d chri*0010 RUN yum -y groupinstall "Development Tools"
0011 RUN cd /root; wget http://www.mcs.anl.gov/%7Eutke/OpenAD_tars/493/OpenAD_2014-03-15.tgz; tar -xzvf OpenAD_2014-03-15.tgz
0012 COPY pfile /root/pfile
0013 RUN cd /root/OpenAD; patch openadConfig.py ../pfile; pwd ; export PATH=".":$PATH; source setenv.sh; make
ea35677e03 chri*0014 RUN cd /root/OpenAD; export PATH=".:"${PATH}; ./tools/setenv/setenv.py --shell=sh > setenv.tmp
0015 RUN cd /root/OpenAD; cp setenv.tmp /etc/profile.d/openad.sh