j-reher / bossdocker

Docker container to run BOSS in a development environment
GNU General Public License v3.0
0 stars 0 forks source link

Convenient way of getting TestRelease #135

Closed j-reher closed 2 years ago

j-reher commented 2 years ago

We may need a TestRelease in the Workarea, which can not be populated on the fly due to the Workarea being a bind mount. I see two options:

j-reher commented 2 years ago

Workarounds:

docker run --privileged -v "$(pwd)":/root/workarea jreher/boss:latest bash -c "source /root/setup.sh && cp -r /cvmfs/bes3.ihep.ac.cn/bes3sw/Boss/[version]/TestRelease /root/workarea && chown -R $(id -u):$(id -g) /root/workarea"
podman run --privileged -v "$(pwd)":/root/workarea jreher/boss:latest bash -c "source /root/setup.sh && cp -r /cvmfs/bes3.ihep.ac.cn/bes3sw/Boss/[version]/TestRelease /root/workarea"