Closed smondet closed 6 years ago
Automated build: https://hub.docker.com/r/hammerlab/prohlatype/builds/
Cool, so I'll extend this with the relevant build and test commands.
Also, building like this:
docker build -t prohlatype:test .
Works at least for --version
:
$ docker run prohlatype:test _build/src/app/par_type.native --version
0.0.0
$ docker run prohlatype:test _build/src/app/align2fasta.native --version
0.0.0
$ docker run prohlatype:test _build/src/app/mhc2gpdf.native --version
0.0.0
$ docker run prohlatype:test _build/src/app/mpjson2tsv.native --version
0.0.0
$ docker run prohlatype:test _build/src/app/multi_par.native --version
0.0.0
@rleonid do you prefer to merge this (just the dockerfile) and then, when docker-hub has built the master
/latest
version, I'll do a PR on the README.md
for instructions? or do you prefer "speculative" instructions now?
Oh wait forgot to integrate previous PRs that got merged.
Now make setup
fails because it depends on opam
≥ 2 ?
opam install --deps-only ./prohlatype.opam
opam: PACKAGES... arguments: Invalid character . in package name
"./prohlatype.opam"
Usage: opam install [OPTION]... PACKAGES...
Try `opam install --help' or `opam --help' for more information.
Makefile:9: recipe for target 'setup' failed
make: *** [setup] Error 1
The command '/bin/sh -c make setup' returned a non-zero code: 2
Yea, I made the switch to opam v2 on my mac and now (regrettably) I have to support 2 opam versions?
@rleonid as you prefer, I changed the Dockerfile
to not use make setup
and it builds fine.
Is this expected with the opam-pin-installed binaries?
$ docker run prohlatype:test par_type --version
%%VERSION%%
No, I'm trying to figure out why it seems like the (not in stable documentation) jbuilder subst
command is not running?
I'll merge the dockerfile when i figure out these last set of issues.
@smondet I've merged in manually https://github.com/hammerlab/prohlatype/commit/86a00366503313d57b22cd58209360beefde8a54
Not yet ready, I'm adding some more things.