diff --git a/Storage/fastdfs/6.12.4/24.03-lts-sp1/Dockerfile b/Storage/fastdfs/6.12.4/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f05376b65a2bf693cfb1a58a6621211a5229418e --- /dev/null +++ b/Storage/fastdfs/6.12.4/24.03-lts-sp1/Dockerfile @@ -0,0 +1,36 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=6.12.4 + +RUN dnf update -y \ + && dnf install -y gcc cmake perl libfastcommon-devel libserverframe-devel git \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN git clone -b V1.0.75 --depth 1 https://github.com/happyfish100/libfastcommon.git \ + && cd libfastcommon \ + && ./make.sh clean \ + && ./make.sh \ + && ./make.sh install \ + && cd .. \ + && rm -rf libfastcommon + +RUN git clone -b V1.2.5 --depth 1 https://github.com/happyfish100/libserverframe.git \ + && cd libserverframe \ + && ./make.sh clean \ + && ./make.sh \ + && ./make.sh install \ + && cd .. \ + && rm -rf libserverframe + +RUN git clone -b V${VERSION} --depth 1 https://github.com/happyfish100/fastdfs.git \ + && cd fastdfs \ + && ./make.sh clean \ + && ./make.sh \ + && ./make.sh install \ + && cd .. \ + && rm -rf fastdfs + +CMD ["fdfs_storaged", "--help"] \ No newline at end of file diff --git a/Storage/fastdfs/meta.yml b/Storage/fastdfs/meta.yml index c1c1a8cca607e420209565cf168c0801da69219a..43230d3b23847c47ccc40357e1af19b0a5a10611 100644 --- a/Storage/fastdfs/meta.yml +++ b/Storage/fastdfs/meta.yml @@ -1,2 +1,4 @@ 6.12.3-oe2403sp1: - path: 6.12.3/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 6.12.3/24.03-lts-sp1/Dockerfile +6.12.4-oe2403sp1: + path: 6.12.4/24.03-lts-sp1/Dockerfile \ No newline at end of file