Building Options

See also

docker build reference documentation
(Probably a safer choice for information!)

cardiacmodelling/ap-nimbus-client-direct Container

This section refers to :

Perhaps the most important thing to keep in mind when building a local container is to temporarily modify the docker/Dockerfile to copy the content of the local dir (which you’ve probably just modified a bit for this change), e.g.

user@host:~> mkdir tmp && cd tmp
user@host:~/tmp> git clone https://github.com/CardiacModelling/ap-nimbus-client
user@host:~/tmp> cd ap-nimbus-client
user@host:~/tmp/ap-nimbus-client>

          Edit the docker/Dockerfile to copy the local content
          e.g. #RUN git clone --recursive --branch master --depth 1 https://github.com/CardiacModelling/ap-nimbus-client.git
               COPY / /opt/django/ap-nimbus-client

user@host:~/tmp/ap-nimbus-client> docker build -f docker/Dockerfile -t ap-nimbus-client-direct:<new version, e.g. mytest1> .

Why not use Chaste/chaste-docker?

It would be possible to use the “offical” Chaste-endorsed dependency container as a base image to build cardiacmodelling/appredict-no-emulators, etc., on – and up to around 2021 we’d been using an Alpine Linux distribution base. Now, however, we’re using the preferred Debian container to enable easy install of dependency packages.