You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There doesn't appear to be any version-controlling in https://github.com/CardiacModelling/appredict-docker/blob/master/appredict-chaste-libs/Dockerfile, e.g. FROM debian:buster-slim will pull in the latest (which appears to updating regularly). There is also a RUN apt-get update, which while good for security, I suspect that this will mean that there's no certainty from one build to the next that a specific version of libboost, xerces, sundials, etc., will be the same. Whilst a container uploaded to Docker Hub represents a unique construct, the Dockerfile in its current form is permitting a fair degree of variation in the build versioning of dependencies.
I guess as long as we are working with an Ubuntu LTS that passes all ApPredict's tests (now running on Github actions: https://github.com/Chaste/ApPredict/actions) then it shouldn't be an issue, and might be desirable to have it up to date with ubuntu's latest patches. I suppose there could be some check we have a passing ApPredict test suite on that Ubuntu?
If you're ok with the fluidity then all's good and I can close this issue as "Close as not planned" (and can perhaps shoehorn a note in the docs somewhere to indicate we've considered this).
If the (soon to be released) ApPredict container building instructions are followed there's a some optional steps (e.g. recommendations to test the built containerised ApPredict at each step) and some unavoidable steps (i.e. when building appredict-with-emulators and it runs ApPredict to generate the lookup tables) which should give further assurance that it's a fully working ApPredict being released to the container world.
Yeah, I guess the building instructions should feature a step like "run all the tests and check they pass" (is it possible to have the container take a command to run all the tests and check they pass?)
There doesn't appear to be any version-controlling in https://github.com/CardiacModelling/appredict-docker/blob/master/appredict-chaste-libs/Dockerfile, e.g.
FROM debian:buster-slim
will pull in the latest (which appears to updating regularly). There is also aRUN apt-get update
, which while good for security, I suspect that this will mean that there's no certainty from one build to the next that a specific version oflibboost
,xerces
,sundials
, etc., will be the same. Whilst a container uploaded to Docker Hub represents a unique construct, theDockerfile
in its current form is permitting a fair degree of variation in the build versioning of dependencies.This is also a similar scenario for https://github.com/CardiacModelling/ap-nimbus-client/blob/master/docker/Dockerfile.
If this is an issue, it may be better to assign the image digest (I think, I'd need to check up on how to find out how to retrieve that value, e.g.
https://stackoverflow.com/questions/71391031/how-can-i-specify-the-digest-to-be-used-in-a-dockerfile-from-line) and maybe not to do the
apt-get update
.The text was updated successfully, but these errors were encountered: