|
|
@ -14,13 +14,11 @@ RUN \
|
|
|
|
apk add --no-cache --virtual=build-dependencies \
|
|
|
|
apk add --no-cache --virtual=build-dependencies \
|
|
|
|
build-base \
|
|
|
|
build-base \
|
|
|
|
elfutils-dev \
|
|
|
|
elfutils-dev \
|
|
|
|
gcc \
|
|
|
|
|
|
|
|
git \
|
|
|
|
git \
|
|
|
|
linux-headers && \
|
|
|
|
linux-headers && \
|
|
|
|
apk add --no-cache \
|
|
|
|
apk add --no-cache \
|
|
|
|
bc \
|
|
|
|
bc \
|
|
|
|
coredns \
|
|
|
|
coredns \
|
|
|
|
gnupg \
|
|
|
|
|
|
|
|
grep \
|
|
|
|
grep \
|
|
|
|
iproute2 \
|
|
|
|
iproute2 \
|
|
|
|
iptables \
|
|
|
|
iptables \
|
|
|
@ -29,8 +27,7 @@ RUN \
|
|
|
|
libcap-utils \
|
|
|
|
libcap-utils \
|
|
|
|
libqrencode \
|
|
|
|
libqrencode \
|
|
|
|
net-tools \
|
|
|
|
net-tools \
|
|
|
|
openresolv \
|
|
|
|
openresolv && \
|
|
|
|
perl && \
|
|
|
|
|
|
|
|
echo "wireguard" >> /etc/modules && \
|
|
|
|
echo "wireguard" >> /etc/modules && \
|
|
|
|
echo "**** install wireguard-tools ****" && \
|
|
|
|
echo "**** install wireguard-tools ****" && \
|
|
|
|
if [ -z ${WIREGUARD_RELEASE+x} ]; then \
|
|
|
|
if [ -z ${WIREGUARD_RELEASE+x} ]; then \
|
|
|
|