mirror of
https://github.com/hassio-addons/addon-wireguard.git
synced 2025-05-04 19:01:31 +00:00
Update Wireguard and dependencies
This commit is contained in:
parent
41e3a2f783
commit
cbafa1b844
1 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.2.0
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.0
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
@ -10,15 +10,15 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache --virtual .build-dependencies \
|
apk add --no-cache --virtual .build-dependencies \
|
||||||
build-base=0.5-r2 \
|
build-base=0.5-r2 \
|
||||||
git=2.30.2-r0 \
|
git=2.32.0-r0 \
|
||||||
\
|
\
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
go=1.15.12-r0 \
|
go=1.16.5-r0 \
|
||||||
libqrencode=4.1.1-r0 \
|
libqrencode=4.1.1-r0 \
|
||||||
openresolv=3.12.0-r0 \
|
openresolv=3.12.0-r0 \
|
||||||
wireguard-tools=1.0.20200827-r1 \
|
wireguard-tools=1.0.20210424-r0 \
|
||||||
\
|
\
|
||||||
&& git clone --branch "0.0.20210212" --depth=1 \
|
&& git clone --branch "0.0.20210424" --depth=1 \
|
||||||
"https://git.zx2c4.com/wireguard-go" /tmp/wireguard \
|
"https://git.zx2c4.com/wireguard-go" /tmp/wireguard \
|
||||||
\
|
\
|
||||||
&& cd /tmp/wireguard \
|
&& cd /tmp/wireguard \
|
||||||
|
@ -61,3 +61,4 @@ LABEL \
|
||||||
org.opencontainers.image.created=${BUILD_DATE} \
|
org.opencontainers.image.created=${BUILD_DATE} \
|
||||||
org.opencontainers.image.revision=${BUILD_REF} \
|
org.opencontainers.image.revision=${BUILD_REF} \
|
||||||
org.opencontainers.image.version=${BUILD_VERSION}
|
org.opencontainers.image.version=${BUILD_VERSION}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue