Skip to content

Commit

Permalink
New release v02-05-MC
Browse files Browse the repository at this point in the history
  • Loading branch information
pandreetto committed Dec 22, 2020
1 parent a62757e commit d63f58a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
5 changes: 3 additions & 2 deletions CentOS8/Dockerfile-environment
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###############################################################################
# Repository: mucoll-environment
# Tag: 1.3-centos8
# Tag: 1.4-centos8
###############################################################################

FROM centos:centos8
Expand All @@ -14,7 +14,8 @@ RUN wget -O /etc/yum.repos.d/EGI-trustanchors.repo http://repository.egi.eu/sw/p
ln -s /etc/grid-security/certificates/USERTrustRSACertificationAuthority.pem /etc/pki/ca-trust/source/anchors/ && \
ln -s /etc/grid-security/certificates/GEANTeScienceSSLCA4.pem /etc/pki/ca-trust/source/anchors/ && \
update-ca-trust extract && \
wget -O /etc/yum.repos.d/geant4.repo https://cld-smact-02.pd.infn.it/artifacts/repository/repo-files/geant4.repo
wget -O /etc/yum.repos.d/geant4.repo https://cld-smact-02.pd.infn.it/artifacts/repository/repo-files/geant4.repo && \
wget -O /etc/yum.repos.d/root.repo https://cld-smact-02.pd.infn.it/artifacts/repository/repo-files/root.repo

RUN yum -y install vim-enhanced xorg-x11-xauth screen git subversion rsync make gdb valgrind graphviz \
sshpass zip doxygen rpm-build gcc gcc-c++ patch \
Expand Down
7 changes: 3 additions & 4 deletions CentOS8/Dockerfile-ilc-base
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
###############################################################################
# Repository: mucoll-ilc-base
# Tag: 1.3-centos8
# Tag: 1.4-centos8
###############################################################################

FROM infnpd/mucoll-environment:1.3-centos8
FROM infnpd/mucoll-environment:1.4-centos8

RUN cd /opt && git clone https://github.com/MuonColliderSoft/MuonCutil.git && \
git clone https://github.com/iLCSoft/iLCInstall.git && \
cd /opt/MuonCutil && git checkout 3a0d79b762a64d394628857134847e7fc77e4078 && \
cd /opt/MuonCutil && git checkout v02-05-MC && \
cd /opt/iLCInstall && git checkout v02-02 && \
sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' ilcsoft-install && \
mkdir releases/development && \
cp /opt/MuonCutil/releases/development/* releases/development && \
./ilcsoft-install releases/development/release-base.cfg --install-prefix=/opt/ilcsoft -v -i



6 changes: 3 additions & 3 deletions CentOS8/Dockerfile-ilc-framework
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
###############################################################################
# Repository: mucoll-ilc-framework
# Tag: 1.3-centos8
# Tag: 1.4-centos8
###############################################################################

FROM infnpd/mucoll-ilc-base:1.3-centos8
FROM infnpd/mucoll-ilc-base:1.4-centos8

RUN cd /opt/iLCInstall && \
./ilcsoft-install releases/development/release-ilcsoft.cfg --install-prefix=/opt/ilcsoft -v -i

RUN cd /opt/ilcsoft/muonc && \
git clone https://github.com/MuonColliderSoft/detector-simulation.git && \
cd /opt/ilcsoft/muonc/detector-simulation && git checkout v01-00-MC
cd /opt/ilcsoft/muonc/detector-simulation && git checkout v01-01-MC

RUN sed -i -e 's|/bin/env python|/usr/bin/env python2|g' /opt/ilcsoft/muonc/CEDViewer/*/bin/ced2go

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Docker files for Muon Collider software
The incremental images for the framework can be built with the following command:
```
cd CentOS8
docker build -f Dockerfile-environment -t infnpd/mucoll-environment:1.3-centos8 .
docker build -f Dockerfile-ilc-base -t infnpd/mucoll-ilc-base:1.3-centos8 .
docker build -f Dockerfile-ilc-framework -t infnpd/mucoll-ilc-framework:1.3-centos8 .
docker build -f Dockerfile-environment -t infnpd/mucoll-environment:1.4-centos8 .
docker build -f Dockerfile-ilc-base -t infnpd/mucoll-ilc-base:1.4-centos8 .
docker build -f Dockerfile-ilc-framework -t infnpd/mucoll-ilc-framework:1.4-centos8 .
```

A useful way to test the image is running a shell on the container:
```
docker run -ti --rm --entrypoint /bin/bash infnpd/mucoll-ilc-framework:1.3-centos8
docker run -ti --rm --entrypoint /bin/bash infnpd/mucoll-ilc-framework:1.4-centos8
```
and inspect its content.

0 comments on commit d63f58a

Please sign in to comment.