-
Notifications
You must be signed in to change notification settings - Fork 4
refactor!: rename project from eic-opticks to simphony #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -44,46 +44,46 @@ environment, ensure that your system has the following tools installed: | |||||
| ## Build | ||||||
|
|
||||||
| ```shell | ||||||
| git clone https://github.com/BNLNPPS/eic-opticks.git | ||||||
| cmake -S eic-opticks -B build | ||||||
| git clone https://github.com/BNLNPPS/simphony.git | ||||||
| cmake -S simphony -B build | ||||||
| cmake --build build | ||||||
| ``` | ||||||
|
|
||||||
| ## Docker | ||||||
|
|
||||||
| Build latest `eic-opticks` image by hand: | ||||||
| Build latest `simphony` image by hand: | ||||||
|
|
||||||
| ```shell | ||||||
| docker build -t ghcr.io/bnlnpps/eic-opticks:latest https://github.com/BNLNPPS/eic-opticks.git | ||||||
| docker build -t ghcr.io/bnlnpps/simphony:latest https://github.com/BNLNPPS/simphony.git | ||||||
| ``` | ||||||
|
|
||||||
| Build and run for development: | ||||||
|
|
||||||
| ```shell | ||||||
| docker build -t ghcr.io/bnlnpps/eic-opticks:develop --target=develop . | ||||||
| docker build -t ghcr.io/bnlnpps/simphony:develop --target=develop . | ||||||
| ``` | ||||||
|
|
||||||
| Example commands for interactive and non-interactive tests: | ||||||
|
|
||||||
| ```shell | ||||||
| docker run --rm -it -v $HOME/.Xauthority:/root/.Xauthority -e DISPLAY=$DISPLAY --net=host ghcr.io/bnlnpps/eic-opticks:develop | ||||||
| docker run --rm -it -v $HOME/.Xauthority:/root/.Xauthority -e DISPLAY=$DISPLAY --net=host ghcr.io/bnlnpps/simphony:develop | ||||||
|
|
||||||
| docker run --rm -it -v $HOME:/esi -v $HOME/eic-opticks:/workspaces/eic-opticks -e DISPLAY=$DISPLAY -e HOME=/esi --net=host ghcr.io/bnlnpps/eic-opticks:develop | ||||||
| docker run --rm -it -v $HOME:/esi -v $HOME/simphony:/workspaces/simphony -e DISPLAY=$DISPLAY -e HOME=/esi --net=host ghcr.io/bnlnpps/simphony:develop | ||||||
|
|
||||||
| docker run ghcr.io/bnlnpps/eic-opticks bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' | ||||||
| docker run ghcr.io/bnlnpps/simphony bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' | ||||||
|
||||||
| docker run ghcr.io/bnlnpps/simphony bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' | |
| docker run ghcr.io/bnlnpps/simphony:develop bash -c 'simg4ox -g tests/geom/sphere_leak.gdml -m tests/run.mac -c sphere_leak' |
Copilot
AI
Apr 20, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These docker build commands are missing the required build context argument (e.g. .). As written, docker build -t ... --target=... will fail; please add the context path (and optionally -f Dockerfile if needed).
Uh oh!
There was an error while loading. Please reload this page.