diff --git a/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile b/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..dea22246f1651732558f060e54782274ceb3f6e0 --- /dev/null +++ b/Cloud/strongswan/6.0.2/24.03-lts-sp1/Dockerfile @@ -0,0 +1,26 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=6.0.2 + +RUN dnf update -y \ + && dnf install -y wget gcc make gmp-devel openssl-devel libcurl-devel \ + openldap-devel libcap-ng-devel iproute iptables pkgconfig \ + autoconf automake libtool libtool-ltdl-devel m4 gettext gettext-devel \ + gperf flex bison \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN wget https://github.com/strongswan/strongswan/archive/refs/tags/${VERSION}.tar.gz \ + && tar -zxvf ${VERSION}.tar.gz \ + && rm -f ${VERSION}.tar.gz + +WORKDIR /opt/strongswan-${VERSION} + +RUN ./autogen.sh \ + && ./configure \ + && make -j \ + && make install + +CMD ["swanctl", "--help"] \ No newline at end of file diff --git a/Cloud/strongswan/meta.yml b/Cloud/strongswan/meta.yml index 794d230f88c888e64d74be05d69792d7c917b930..77be5664ec91eaa1bd9e4a40edd1f8afe0667a9d 100644 --- a/Cloud/strongswan/meta.yml +++ b/Cloud/strongswan/meta.yml @@ -1,2 +1,4 @@ 6.0.1-oe2403sp1: - path: 6.0.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 6.0.1/24.03-lts-sp1/Dockerfile +6.0.2-oe2403sp1: + path: 6.0.2/24.03-lts-sp1/Dockerfile \ No newline at end of file