Update Wireguard and dependencies

This commit is contained in:
Delta / Subo /Stefan 2021-07-06 11:16:46 +02:00 committed by GitHub
parent 41e3a2f783
commit cbafa1b844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
FROM ${BUILD_FROM}
@ -10,15 +10,15 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN \
apk add --no-cache --virtual .build-dependencies \
build-base=0.5-r2 \
git=2.30.2-r0 \
git=2.32.0-r0 \
\
&& apk add --no-cache \
go=1.15.12-r0 \
go=1.16.5-r0 \
libqrencode=4.1.1-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 \
\
&& cd /tmp/wireguard \
@ -61,3 +61,4 @@ LABEL \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}