Build older vpn 2.6.5
This commit is contained in:
parent
b3f437902f
commit
877691e308
@ -24,11 +24,10 @@ steps:
|
|||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 500Mi
|
memory: 1024Mi
|
||||||
cpu: 200m
|
cpu: 300m
|
||||||
limits:
|
limits:
|
||||||
memory: 500Mi
|
memory: 1024Mi
|
||||||
cpu: 200m
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
nodeSelector:
|
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 tar -xf /tmp/openvpn.tar.gz -C /tmp && rm -f /tmp/openvpn.tar.gz
|
||||||
RUN mv /tmp/openvpn-${OPENVPN_VERSION} /output/openvpn
|
RUN mv /tmp/openvpn-${OPENVPN_VERSION} /output/openvpn
|
||||||
|
|
||||||
FROM ubuntu as builder
|
FROM ubuntu:22.04 as builder
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# -- TODO: Define it only once
|
# -- TODO: Define it only once
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
@ -36,7 +36,7 @@ RUN cp $(which openvpn) /output/
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# -- Final container
|
# -- Final container
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
FROM ubuntu:24.04
|
FROM ubuntu:22.04
|
||||||
LABEL maintainer="allanger <allanger@zohomail.com>"
|
LABEL maintainer="allanger <allanger@zohomail.com>"
|
||||||
COPY --from=builder /output /src
|
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 CONTAINERFILE=./containerfiles/Containerfile
|
||||||
export SCRIPT=build_upstream.sh
|
export SCRIPT=build_upstream.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user