Docker image that Geant4 is installed.
This product includes software developed by Members of the Geant4 Collaboration ( http://cern.ch/geant4 ).
git clone --branch v10.5.0 https://github.com/wtakase/docker-geant4
./docker-geant4/download_dataset.sh /path/to/download/geant4/data
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-amd64-bionic
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-amd64-alpine
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-armhf-bionic
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-armhf-alpine
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-arm64-bionic
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" wtakase/geant4:10.05-arm64-alpine
git clone --branch v10.5.0 https://github.com/Geant4/geant4.git
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" -v "`pwd`/geant4/examples:/opt/geant4/examples:ro" wtakase/geant4:10.05-amd64-bionic bash -c 'cmake /opt/geant4/examples/basic/B1 && make && ./exampleB1 run1.mac'
docker run --rm -it -v "/path/to/download/geant4/data:/opt/geant4/data:ro" -v "`pwd`/geant4/examples:/opt/geant4/examples:ro" -v "/tmp/output:/tmp/output" wtakase/geant4:10.05-amd64-bionic bash -c 'cmake /opt/geant4/examples/extended/medical/electronScattering2 && make && sed -i "\/run\/initialize/i /run/numberOfThreads 8" macros/Opt0/Al1_13MeV.mac && ./electronScattering2 macros/Opt0/Al1_13MeV.mac 1 /tmp/output/Opt0_Al1_13MeV_1.csv'
docker run --rm --privileged multiarch/qemu-user-static:register
git clone --branch v10.5.0 https://github.com/wtakase/docker-geant4
cd docker-geant4
docker build -f amd64/bionic/Dockerfile -t wtakase/geant4:10.05-amd64-bionic .
docker build -f amd64/alpine/Dockerfile -t wtakase/geant4:10.05-amd64-alpine .
docker build -f armhf/bionic/Dockerfile -t wtakase/geant4:10.05-armhf-bionic .
docker build -f armhf/alpine/Dockerfile -t wtakase/geant4:10.05-armhf-alpine .
docker build -f arm64/bionic/Dockerfile -t wtakase/geant4:10.05-arm64-bionic .
docker build -f arm64/alpine/Dockerfile -t wtakase/geant4:10.05-arm64-alpine .