gdmcbain / musim

https://hub.docker.com/u/gdmcbain
0 stars 0 forks source link

updating OpenFOAM #19

Open gdmcbain opened 8 months ago

gdmcbain commented 8 months ago

Is it time to update OpenFOAM? It's three years old.

gdmcbain commented 8 months ago

https://github.com/gdmcbain/musim/blob/1c1441b79a77b2b6a2fbd55c7f6d8de71d885bb4/OpenFOAM/Dockerfile#L1

gdmcbain commented 8 months ago

Let's go and Play with Docker.

gdmcbain commented 8 months ago
git clone https://github.com/gdmcbain/musim
cd OpenFOAM
ed Dockerfile # change focal to mantic
docker build -t gdmcbain/openfoam:mantic .
gdmcbain commented 8 months ago

focal (20.04) is still supported but there is also now mantic (23.10).

Will that work with OpenFOAM? No.

gdmcbain commented 8 months ago

According to Download v11 | Ubuntu we want lunar.

gdmcbain commented 8 months ago

https://github.com/gdmcbain/musim/blob/5c8fbe6539f93b91447bc6c6a1c61e9ab8c6829b/OpenFOAM/Dockerfile#L11

Unable to locate package openfoam8

gdmcbain commented 8 months ago
docker build -t gdmcbain/openfoam11:0 .

But it'd be nice to include the options in a Docker [Compose] file, wouldn't it?

gdmcbain commented 8 months ago
docker run -it --rm gdmcbain/openfoam11:0

Drops one into a root shell at /.

gdmcbain commented 8 months ago
docker login --password-stdin -u gdmcbain
docker push gdmcbain/openfoam11:0