Skip to content
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

make a note about how to use the docker containers in podman and galaxy #83

Merged
merged 5 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ $ docker run -ti --rm -v $PWD:/data -w /data ghcr.io/lcsb-biocore/docker/fbcmode
$ docker run -ti --rm -v $PWD:/data -w /data ghcr.io/lcsb-biocore/docker/fbcmodeltests-compare-frog report_dir other_dir
```

Docker containers may be re-used and executed in many other environments: using
[podman](https://podman.io/) allows you to run in without installation in some
HPC setups; using the [Dockerized tool
capability](https://training.galaxyproject.org/training-material/topics/admin/tutorials/galaxy-docker/slides-plain.html)
of [Galaxy](https://usegalaxy.org/) allows you to run the model tests in many
institutional cloud-computing services and local Galaxy instances.

## MEMOTE-style tests

The primary entry point for the [MEMOTE](https://memote.readthedocs.io/) test
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.comparefrog
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM julia

ADD README.md Project.toml LICENSE /pkg/
ADD src/ /pkg/src/
ADD bin/fbcmt-compare-frog /usr/bin
ADD bin/ /usr/bin/

RUN julia -e 'import Pkg; Pkg.develop(path="/pkg/"); Pkg.resolve(); Pkg.status(); Pkg.instantiate(); Pkg.precompile()'

Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.generic
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM julia

ADD README.md Project.toml LICENSE /pkg/
ADD src/ /pkg/src/
ADD bin/ /usr/bin/

RUN julia -e 'import Pkg; Pkg.develop(path="/pkg/"); Pkg.resolve(); Pkg.status(); Pkg.instantiate(); Pkg.precompile()'

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.runfrog
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM julia

ADD README.md Project.toml LICENSE /pkg/
ADD src/ /pkg/src/
ADD bin/fbcmt-run-frog /usr/bin
ADD bin/ /usr/bin/

RUN julia -e 'import Pkg; Pkg.add(["GLPK", "Tulip", "Clarabel", "OSQP", "Clp"]); Pkg.develop(path="/pkg/"); Pkg.resolve(); Pkg.status(); Pkg.instantiate(); Pkg.precompile()'
RUN julia -e 'import Pkg; Pkg.add(["GLPK", "Tulip", "Clarabel", "OSQP", "Clp", "SCIP"]); Pkg.develop(path="/pkg/"); Pkg.resolve(); Pkg.status(); Pkg.instantiate(); Pkg.precompile()'

ENTRYPOINT ["/usr/bin/fbcmt-run-frog"]
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "<1"
Loading