Skip to content

Commit

Permalink
Merge pull request #83 from LCSB-BioCore/mk-galaxy
Browse files Browse the repository at this point in the history
make a note about how to use the docker containers in podman and galaxy
  • Loading branch information
exaexa authored Sep 27, 2023
2 parents bf57be9 + 4e454af commit c1d5874
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
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"

0 comments on commit c1d5874

Please sign in to comment.