diff --git a/Others/spdk/25.05/24.03-lts-sp1/Dockerfile b/Others/spdk/25.05/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c8f3c9eaf10852f158444995a73b766f3f575503 --- /dev/null +++ b/Others/spdk/25.05/24.03-lts-sp1/Dockerfile @@ -0,0 +1,22 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} AS builder +ARG VERSION=25.05 + +RUN dnf update -y \ + && dnf install -y git make gcc \ + && dnf clean all \ + && rm -rf /var/cache/dnf/* + +WORKDIR /opt + +RUN git clone -b v${VERSION} --depth 1 https://github.com/spdk/spdk \ + && cd spdk/ \ + && git submodule update --init + +WORKDIR /opt/spdk + +RUN ./scripts/pkgdep.sh \ + && ./configure \ + && make -j$(nproc) + +CMD ["./test/unit/unittest.sh"] diff --git a/Others/spdk/meta.yml b/Others/spdk/meta.yml index d7599ddc67250c0e4748069f8f56685e22aa96f2..5cece098d640c0001bc415c6c41458b677cafb19 100644 --- a/Others/spdk/meta.yml +++ b/Others/spdk/meta.yml @@ -1,2 +1,5 @@ 24.09-oe2403sp1: path: 24.09/24.03-lts-sp1/Dockerfile + +25.05-oe2403sp1: + path: 25.05/24.03-lts-sp1/Dockerfile \ No newline at end of file