mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 06:21:32 +01:00
@@ -49,8 +49,6 @@ get_latest() {
|
|||||||
dir="zookeeper/3.5"
|
dir="zookeeper/3.5"
|
||||||
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
||||||
dir="oauth2-proxy"
|
dir="oauth2-proxy"
|
||||||
elif [[ "$dir" == "wireguard-linux-compat" ]]; then
|
|
||||||
dir="wireguard/install"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change to upper case for grep
|
# Change to upper case for grep
|
||||||
@@ -62,7 +60,10 @@ get_latest() {
|
|||||||
|
|
||||||
if [[ "$dir" == "wireguard-tools" ]]; then
|
if [[ "$dir" == "wireguard-tools" ]]; then
|
||||||
dir="wireguard/install"
|
dir="wireguard/install"
|
||||||
udir="WIREGUARD_TOOLS_VERSION"
|
udir="WIREGUARD_TOOLS"
|
||||||
|
elif [[ "$dir" == "wireguard-linux-compat" ]]; then
|
||||||
|
dir="wireguard/install"
|
||||||
|
udir="WIREGUARD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local current
|
local current
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ RUN apt update && apt -y install \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# https://git.zx2c4.com/wireguard-linux-compat/
|
# https://git.zx2c4.com/wireguard-linux-compat/
|
||||||
ENV WIREGUARD_VERSION v0.0.20200128
|
ENV WIREGUARD_VERSION v1.0.20200506
|
||||||
# https://git.zx2c4.com/wireguard-tools
|
# https://git.zx2c4.com/wireguard-tools
|
||||||
ENV WIREGUARD_TOOLS_VERSION v1.0.20200121
|
ENV WIREGUARD_TOOLS_VERSION v1.0.20200513
|
||||||
|
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& git clone --depth 1 --branch "${WIREGUARD_VERSION}" https://git.zx2c4.com/wireguard-linux-compat.git /wireguard \
|
&& git clone --depth 1 --branch "${WIREGUARD_VERSION}" https://git.zx2c4.com/wireguard-linux-compat.git /wireguard \
|
||||||
|
|||||||
Reference in New Issue
Block a user