From 88a819c7ee1a6a9927b69c772b4232018a6f07d9 Mon Sep 17 00:00:00 2001 From: GuangJie1 Date: Fri, 16 May 2025 17:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=87=AA=E5=8A=A8=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E3=80=91openlb=E5=AE=B9=E5=99=A8=E9=95=9C=E5=83=8F=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E8=87=B31.8r0=E7=89=88=E6=9C=AC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile | 39 +++++++++++++++++++++++ HPC/openlb/README.md | 1 + HPC/openlb/doc/image-info.yml | 1 + HPC/openlb/meta.yml | 4 ++- 4 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 HPC/openlb/1.8.0/24.03-lts-sp1/Dockerfile 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 0000000..a9eb89e --- /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 2584412..abfca5f 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 a19bab3..7a57088 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 3862a16..efa047a 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 -- Gitee