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
This commit is contained in:
parent
6879011856
commit
92d4babff3
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue