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