Dockerhub containers for v2206 and above
Dear all, I'm testing some CI tools for compiling OpenFOAM applications, and managed to get Cirrus CI to work nicely. I currently have 2 workflows: one which installs OpenFOAM via apt-get and the other using an OpenCFD docker container from Dockerhub:
v2212_task:
container:
image: ubuntu:jammy
test_script:
- apt-get update
- apt-get install -y wget
- wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | bash
- apt-get install -qq openfoam2212-dev
- /usr/bin/openfoam2212 wmake
v2112_task:
container:
image: opencfd/openfoam2112-dev
test_script:
- /usr/bin/openfoam2112 wmake
The one in the OpenCFD container runs 5 seconds and the other one about a minute, so it seems there is quite some benefit in using Dockerhub.
Which leads to the question: what is the status of the Dockerhub repository? The latest container seems to be 2112, so the two latest versions are missing. There is, however, a version-less container, which was updated 3 months ago. Is this a snapshot of the develop
branch? I am aware of the new openfoam-docker
script, which is very nice. But I don't think I can use it in the CI, since it will be launching Docker inside Docker. It seems that ideally one would like to have the containers on Dockerhub.
Best, Timofey