File tree 5 files changed +14
-12
lines changed
5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1
2
+
1
3
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
2
4
3
5
# set version label
@@ -15,19 +17,16 @@ RUN \
15
17
apt-get install -y --no-install-recommends \
16
18
bc \
17
19
build-essential \
18
- curl \
19
20
dkms \
20
21
git \
21
- gnupg \
22
+ gnupg \
22
23
ifupdown \
23
24
iproute2 \
24
25
iptables \
25
26
iputils-ping \
26
- jq \
27
27
libc6 \
28
28
libelf-dev \
29
29
net-tools \
30
- netcat \
31
30
openresolv \
32
31
perl \
33
32
pkg-config \
43
42
git clone https://git.zx2c4.com/wireguard-tools && \
44
43
cd wireguard-tools && \
45
44
git checkout "${WIREGUARD_RELEASE}" && \
45
+ sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\. ipv4\. conf\. all\. src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' src/wg-quick/linux.bash && \
46
46
make -C src -j$(nproc) && \
47
47
make -C src install && \
48
48
echo "**** install CoreDNS ****" && \
Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1
2
+
1
3
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
2
4
3
5
# set version label
@@ -15,19 +17,16 @@ RUN \
15
17
apt-get install -y --no-install-recommends \
16
18
bc \
17
19
build-essential \
18
- curl \
19
20
dkms \
20
21
git \
21
- gnupg \
22
+ gnupg \
22
23
ifupdown \
23
24
iproute2 \
24
25
iptables \
25
26
iputils-ping \
26
- jq \
27
27
libc6 \
28
28
libelf-dev \
29
29
net-tools \
30
- netcat \
31
30
openresolv \
32
31
perl \
33
32
pkg-config \
43
42
git clone https://git.zx2c4.com/wireguard-tools && \
44
43
cd wireguard-tools && \
45
44
git checkout "${WIREGUARD_RELEASE}" && \
45
+ sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' src/wg-quick/linux.bash && \
46
46
make -C src -j$(nproc) && \
47
47
make -C src install && \
48
48
echo "**** install CoreDNS ****" && \
Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1
2
+
1
3
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-jammy
2
4
3
5
# set version label
@@ -15,19 +17,16 @@ RUN \
15
17
apt-get install -y --no-install-recommends \
16
18
bc \
17
19
build-essential \
18
- curl \
19
20
dkms \
20
21
git \
21
- gnupg \
22
+ gnupg \
22
23
ifupdown \
23
24
iproute2 \
24
25
iptables \
25
26
iputils-ping \
26
- jq \
27
27
libc6 \
28
28
libelf-dev \
29
29
net-tools \
30
- netcat \
31
30
openresolv \
32
31
perl \
33
32
pkg-config \
43
42
git clone https://git.zx2c4.com/wireguard-tools && \
44
43
cd wireguard-tools && \
45
44
git checkout "${WIREGUARD_RELEASE}" && \
45
+ sed -i 's|\[\[ $proto == -4 \]\] && cmd sysctl -q net\.ipv4\.conf\.all\.src_valid_mark=1|[[ $proto == -4 ]] \&\& [[ $(sysctl -n net.ipv4.conf.all.src_valid_mark) != 1 ]] \&\& cmd sysctl -q net.ipv4.conf.all.src_valid_mark=1|' src/wg-quick/linux.bash && \
46
46
make -C src -j$(nproc) && \
47
47
make -C src install && \
48
48
echo "**** install CoreDNS ****" && \
Original file line number Diff line number Diff line change @@ -332,6 +332,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
332
332
333
333
## Versions
334
334
335
+ * ** 28.01.23:** - Patch wg-quick to suppress false positive sysctl warning.
335
336
* ** 10.01.23:** - Add new var to add ` PersistentKeepalive ` to server config for select peers to survive server IP changes when domain name is used.
336
337
* ** 26.10.22:** - Better handle unsupported peer names. Improve logging.
337
338
* ** 12.10.22:** - Add Alpine branch. Optimize wg and coredns services.
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ app_setup_block: |
127
127
128
128
# changelog
129
129
changelogs :
130
+ - { date: "28.01.23:", desc: "Patch wg-quick to suppress false positive sysctl warning." }
130
131
- { date: "10.01.23:", desc: "Add new var to add `PersistentKeepalive` to server config for select peers to survive server IP changes when domain name is used." }
131
132
- { date: "26.10.22:", desc: "Better handle unsupported peer names. Improve logging." }
132
133
- { date: "12.10.22:", desc: "Add Alpine branch. Optimize wg and coredns services." }
You can’t perform that action at this time.
0 commit comments