From fc5caea9bdc34dbdfd9b96033b840418c8e28459 Mon Sep 17 00:00:00 2001 From: GuangJie1 Date: Mon, 26 May 2025 20:39:30 +0800 Subject: [PATCH] add haproxy --- Others/haproxy/3.1.7/24.03-lts-sp1/Dockerfile | 21 +++++++++++++++++++ Others/haproxy/meta.yml | 2 ++ Others/image-list.yml | 1 + 3 files changed, 24 insertions(+) create mode 100644 Others/haproxy/3.1.7/24.03-lts-sp1/Dockerfile create mode 100644 Others/haproxy/meta.yml diff --git a/Others/haproxy/3.1.7/24.03-lts-sp1/Dockerfile b/Others/haproxy/3.1.7/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000..87e99d3 --- /dev/null +++ b/Others/haproxy/3.1.7/24.03-lts-sp1/Dockerfile @@ -0,0 +1,21 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=3.1.7 + +RUN dnf update -y \ + && dnf install -y wget gcc make openssl-devel pcre2-devel lua-devel zlib-devel systemd-devel \ + && dnf clean all + +WORKDIR /opt + +RUN wget https://www.haproxy.org/download/3.1/src/haproxy-${VERSION}.tar.gz \ + && tar -zxvf haproxy-${VERSION}.tar.gz \ + && rm -f haproxy-${VERSION}.tar.gz + +WORKDIR /opt/haproxy-${VERSION} + +RUN make clean \ + && make -j $(nproc) TARGET=linux-glibc USE_OPENSSL=1 USE_QUIC=1 USE_QUIC_OPENSSL_COMPAT=1 USE_LUA=1 USE_PCRE2=1 \ + && make install + +CMD ["haproxy", "--help"] \ No newline at end of file diff --git a/Others/haproxy/meta.yml b/Others/haproxy/meta.yml new file mode 100644 index 0000000..48c73f8 --- /dev/null +++ b/Others/haproxy/meta.yml @@ -0,0 +1,2 @@ +3.1.7-oe2403sp1: + path: 3.1.7/24.03-lts-sp1/Dockerfile diff --git a/Others/image-list.yml b/Others/image-list.yml index 974b98b..896fbde 100644 --- a/Others/image-list.yml +++ b/Others/image-list.yml @@ -76,3 +76,4 @@ images: mesa: mesa nemo: nemo lammps: lammps + haproxy: haproxy -- Gitee