Build older vpn 2.6.5
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline was successful

This commit is contained in:
Nikolai Rodionov 2024-08-18 22:36:44 +02:00
parent b3f437902f
commit 877691e308
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
3 changed files with 6 additions and 7 deletions

View File

@ -24,11 +24,10 @@ steps:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
memory: 1024Mi
cpu: 300m
limits:
memory: 500Mi
cpu: 200m
memory: 1024Mi
securityContext:
privileged: true
nodeSelector:

View File

@ -16,7 +16,7 @@ RUN dudo -l "https://swupdate.openvpn.org/community/releases/openvpn-{{ version
RUN tar -xf /tmp/openvpn.tar.gz -C /tmp && rm -f /tmp/openvpn.tar.gz
RUN mv /tmp/openvpn-${OPENVPN_VERSION} /output/openvpn
FROM ubuntu as builder
FROM ubuntu:22.04 as builder
# ------------------------------------------------------
# -- TODO: Define it only once
# ------------------------------------------------------
@ -36,7 +36,7 @@ RUN cp $(which openvpn) /output/
# ------------------------------------------------------
# -- Final container
# ------------------------------------------------------
FROM ubuntu:24.04
FROM ubuntu:22.04
LABEL maintainer="allanger <allanger@zohomail.com>"
COPY --from=builder /output /src
# -------------------------------------------------------

2
env/openvpn.env vendored
View File

@ -1,3 +1,3 @@
export OPENVPN_VERSION=2.6.11
export OPENVPN_VERSION=2.6.5
export CONTAINERFILE=./containerfiles/Containerfile
export SCRIPT=build_upstream.sh