Try newer ubuntu
This commit is contained in:
parent
db02862770
commit
b3f437902f
@ -36,7 +36,7 @@ RUN cp $(which openvpn) /output/
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# -- Final container
|
# -- Final container
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
LABEL maintainer="allanger <allanger@zohomail.com>"
|
LABEL maintainer="allanger <allanger@zohomail.com>"
|
||||||
COPY --from=builder /output /src
|
COPY --from=builder /output /src
|
||||||
# -------------------------------------------------------
|
# -------------------------------------------------------
|
||||||
|
@ -23,7 +23,7 @@ RUN dudo -l "https://github.com/Tunnelblick/Tunnelblick/archive/refs/tags/v{{ ve
|
|||||||
RUN tar -xf /tmp/tunnelblick.tar.gz -C /tmp && rm -f /tmp/tunnelblick.tar.gz
|
RUN tar -xf /tmp/tunnelblick.tar.gz -C /tmp && rm -f /tmp/tunnelblick.tar.gz
|
||||||
RUN mv /tmp/Tunnelblick-$TUNNELBLICK_VERSION /output/tunnelblick
|
RUN mv /tmp/Tunnelblick-$TUNNELBLICK_VERSION /output/tunnelblick
|
||||||
|
|
||||||
FROM ubuntu as builder
|
FROM ubuntu:24.04 as builder
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# -- TODO: Define it only once
|
# -- TODO: Define it only once
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
@ -48,7 +48,7 @@ RUN cp $(which openvpn) /output/
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# -- Final container
|
# -- Final container
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
LABEL maintainer="allanger <allanger@zohomail.com>"
|
LABEL maintainer="allanger <allanger@zohomail.com>"
|
||||||
COPY --from=builder /output /src
|
COPY --from=builder /output /src
|
||||||
# -------------------------------------------------------
|
# -------------------------------------------------------
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
git clone https://github.com/Tunnelblick/Tunnelblick.git /tmp/tunnelblick
|
git clone https://github.com/Tunnelblick/Tunnelblick.git /tmp/tunnelblick
|
||||||
|
git -C /tmp/tunnelblick checkout $TUNNELBLICK_VERSION
|
||||||
export OPENVPN_VERSION=$(ls /tmp/tunnelblick/third_party/sources/openvpn | sed 's/openvpn-//g' | sort -k1,1nr -k2,2n -k3,3n | head -n 1)
|
export OPENVPN_VERSION=$(ls /tmp/tunnelblick/third_party/sources/openvpn | sed 's/openvpn-//g' | sort -k1,1nr -k2,2n -k3,3n | head -n 1)
|
||||||
export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
|
export CUSTOM_TAG="v$OPENVPN_VERSION-XOR-$TUNNELBLICK_VERSION"
|
||||||
export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION --build-arg TUNNELBLICK_VERSION=$TUNNELBLICK_VERSION"
|
export BUILD_ARGS="--build-arg OPENVPN_VERSION=$OPENVPN_VERSION --build-arg TUNNELBLICK_VERSION=$TUNNELBLICK_VERSION"
|
||||||
|
Loading…
Reference in New Issue
Block a user