diff --git a/Dockerfile b/Dockerfile index 7397caa3f45c68bd576208d3f748a33beb8826c2..c7ae687d417a8818b961ec422d3614d91c999154 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,17 @@ RUN sudo yum update -y && \ sudo yum update -y && \ sudo yum install -y singularity +# If the CVMFS is installed in the host, just mount the corresonding /CVMFS directories +# $ docker run --privileged --rm -i -t \ + -v /cvmfs/sft.cern.ch:/cvmfs/sft.cern.ch \ + -v /cvmfs/cepcsw.ihep.ac.cn:/cvmfs/cepcsw.ihep.ac.cn \ + -v /cvmfs/container.ihep.ac.cn:/cvmfs/container.ihep.ac.cn \ + cepc/cepcsw /bin/bash +# Inside the Docker container, we could start the Singularity provided by IHEP +# $ export SINGULARITY_BINDPATH=/cvmfs +# $ singularity shell /cvmfs/container.ihep.ac.cn/singularity/image/SL69/sl69worknode20200729.sif + +############################################################################## # Install CVMFS # Configure IHEP # Enable /cvmfs/cepcsw.ihep.ac.cn and /cvmfs/container.ihep.ac.cn