From 92d4babff33c53915ef707597961c2495aa85b4d Mon Sep 17 00:00:00 2001 From: Pavel Popov Date: Fri, 5 Jan 2024 11:23:41 +0700 Subject: [PATCH] Switch to ghcr.io/wg-easy/wg-easy image (#22) * Switch to ghcr.io/wg-easy/wg-easy image * Fix with Dockerfile build * Fix hadolint checks --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 51b8b55..14766df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ -FROM weejewel/wg-easy:7 +FROM ghcr.io/wg-easy/wg-easy:9 # hadolint ignore=DL3022,DL3023 COPY --from=mindflavor/prometheus-wireguard-exporter:3.6.6 /usr/local/bin/prometheus_wireguard_exporter /usr/local/bin/ -# shellcheck disable=SC2016 -RUN apk add -U --no-cache \ - wireguard-tools=1.0.20200102-r0 \ - && sed \ +# hadolint ignore=SC2016 +RUN sed \ -i '1,/^\[Peer\]/{s//[Peer]\n# friendly_name = ${client.name}\n# (${clientId})/}' \ lib/WireGuard.js