From 13d717fd6c9011f340d159132212738477b2e5b3 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 15 Aug 2025 10:07:02 +0000 Subject: [PATCH] 24.03-lts-sp1 update tensorflow to 2.20.0 --- Others/tensorflow/2.20.0/24.03-lts-sp1/Dockerfile | 11 +++++++++++ Others/tensorflow/meta.yml | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Others/tensorflow/2.20.0/24.03-lts-sp1/Dockerfile diff --git a/Others/tensorflow/2.20.0/24.03-lts-sp1/Dockerfile b/Others/tensorflow/2.20.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..7437a4c7 --- /dev/null +++ b/Others/tensorflow/2.20.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,11 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=2.20.0 + +RUN dnf update -y \ + && dnf install -y python3-pip \ + && dnf clean all \ + && rm -rf /tmp/* \ + && rm -rf /var/cache/dnf \ + +RUN pip3 install tensorflow==${VERSION} diff --git a/Others/tensorflow/meta.yml b/Others/tensorflow/meta.yml index 8589b3be..9d8c5d33 100644 --- a/Others/tensorflow/meta.yml +++ b/Others/tensorflow/meta.yml @@ -1,2 +1,4 @@ 2.19.0-oe2403sp1: - path: 2.19.0/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 2.19.0/24.03-lts-sp1/Dockerfile +2.20.0-oe2403sp1: + path: 2.20.0/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee