Commit b65a9fb1 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

add README.md file

parent 02de4e8d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
# Docker support for the NP-TMcode project

This Dockerfile allows to create mainly:

- the np-tmcode image that is used by the gitlab pipeline runner to test compile and execution of requested merges
- the np-tmcode-run image, that contains only the pre-built executables, python test scripts, compiled documentation, and the minimal runtime to run them

In order for the docker build to correctly set the context, so that it can access the directories containing source codes, docker build must be invoked from this directory as:

   > docker build -f Dockerfile ../.. --target <image name>

where `<image name>` is either `np-tmcode` or `np-tmcode-run`. One may also add the docker build option `-t tagname` to specify the `tagname` the built image should have in his/her registry.
 No newline at end of file