diff --git a/HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile b/HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..a9eb89e736639b05f219f87bfb4c78cfc212e4e2 --- /dev/null +++ b/HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,39 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=1.8.0 +ARG GNUPLOT_VERSION=5.4.5 + +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 + +RUN dnf install -y wget make gcc-g++ findutils \ + readline-devel libpng-devel gd-devel \ + cairo-devel pango-devel \ + lua-devel qt5-qtbase-devel \ + && dnf clean all \ + && rm -rf /var/cache/dnf/* + +RUN wget https://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOT_VERSION}/gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && tar -xf gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && rm -f gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && cd gnuplot-${GNUPLOT_VERSION} \ + && ./configure --prefix=/usr/local/gnuplot-${GNUPLOT_VERSION} \ + --with-readline=gnu \ + --with-cairo \ + --with-qt \ + --with-gd \ + --enable-largefile \ + && make -j$(nproc) \ + && make install + +ENV PATH=/usr/local/gnuplot-${GNUPLOT_VERSION}/bin:$PATH + +RUN wget https://gitlab.com/openlb/release/-/archive/${VERSION}/release-${VERSION}.tar.gz -O /home/olb.tar.gz && \ + tar -xvf /home/olb.tar.gz -C /home && \ + cd /home/release-${VERSION} && \ + make -j $(nproc) && \ + rm -rf olb* + +WORKDIR /home/release-${VERSION} + +CMD [ "bash" ] \ No newline at end of file diff --git a/HPC/openlb/README.md b/HPC/openlb/README.md index 25844129ece73c852a39d971b9e021156f541486..abfca5fa49624ec260c3dd5143378aca872efcde 100644 --- a/HPC/openlb/README.md +++ b/HPC/openlb/README.md @@ -15,6 +15,7 @@ The tag of each `openlb` docker image is consist of the version of `openlb` and | Tag | Currently | Architectures | |----------|-------------|------------------| |[1.7.0-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/openlb/1.7.0/24.03-lts/Dockerfile)| OpenLB 1.7.0 on openEuler 24.03-LTS | amd64, arm64 | +|[1.8.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile)| OpenLB 1.8.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage In this usage, users can select the corresponding `{Tag}` and `container startup options` based on their requirements. diff --git a/HPC/openlb/doc/image-info.yml b/HPC/openlb/doc/image-info.yml index a19bab3339efacdd7737f6ad9d9bbb854e7a5f69..7a5708884f3cbfc505bbf1ba70148c1273419e0a 100644 --- a/HPC/openlb/doc/image-info.yml +++ b/HPC/openlb/doc/image-info.yml @@ -12,6 +12,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| |[1.7.0-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/openlb/1.7.0/24.03-lts/Dockerfile)| OpenLB 1.7.0 on openEuler 24.03-LTS | amd64, arm64 | + |[1.8.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile)| OpenLB 1.8.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | 拉取镜像到本地 diff --git a/HPC/openlb/meta.yml b/HPC/openlb/meta.yml index 3862a1629124a64aeb2aa30a05ccd5eff95434cb..efa047a1adb99a6360febd46526dbb8cf7b842ac 100644 --- a/HPC/openlb/meta.yml +++ b/HPC/openlb/meta.yml @@ -1,2 +1,4 @@ 1.7.0-oe2403lts: - path: 1.7.0/24.03-lts/Dockerfile \ No newline at end of file + path: 1.7.0/24.03-lts/Dockerfile +1.8.0-oe2403sp1: + path: 1.7.0/24.03-lts-sp1/Dockerfile \ No newline at end of file