Build older vpn 2.6.5
This commit is contained in:
parent
b3f437902f
commit
877691e308
@ -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:
|
||||
|
@ -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
2
env/openvpn.env
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user