Skip to content

Commit 70edaa2

Browse files
committed
rebase to 3.23
1 parent 117a068 commit 70edaa2

File tree

8 files changed

+12
-6
lines changed

8 files changed

+12
-6
lines changed

.github/workflows/external_trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
3030
echo "> External trigger running off of master branch. To disable this trigger, add \`wireguard_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
3131
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
32-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
32+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
3333
&& awk '/^P:'"wireguard-tools"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
3434
echo "Type is \`alpine_repo\`" >> $GITHUB_STEP_SUMMARY
3535
if grep -q "^wireguard_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
@@ -107,7 +107,7 @@ jobs:
107107
if [ "${EXT_RELEASE_SANITIZED}" == "${IMAGE_VERSION}" ]; then
108108
echo "Sanitized version \`${EXT_RELEASE_SANITIZED}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
109109
exit 0
110-
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"wireguard-tools"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
110+
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.23/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"wireguard-tools"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
111111
echo "New version \`${EXT_RELEASE}\` found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY
112112
FAILURE_REASON="New version ${EXT_RELEASE} for wireguard tag latest is detected, however not all arch repos are updated yet. Will try again later."
113113
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:3.22
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.23
44

55
# set version label
66
ARG BUILD_DATE

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.22
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23
44

55
# set version label
66
ARG BUILD_DATE

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pipeline {
2727
DEV_DOCKERHUB_IMAGE = 'lsiodev/wireguard'
2828
PR_DOCKERHUB_IMAGE = 'lspipepr/wireguard'
2929
DIST_IMAGE = 'alpine'
30-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/main/'
30+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/main/'
3131
DIST_REPO_PACKAGES = 'wireguard-tools'
3232
MULTIARCH='true'
3333
CI='false'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
385385

386386
## Versions
387387

388+
* **24.01.26:** - Rebase to Alpine 3.23 again as openresolv alpine 3.23 package has now been updated.
388389
* **22.01.26:** - Revert to Alpine 3.22 due to resolvconf bug.
389390
* **04.01.26:** - Rebase to Alpine 3.23.
390391
* **15.07.25:** - Rebase to Alpine 3.22. Remove iptables-legacy shim.

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repo_vars:
1515
- DEV_DOCKERHUB_IMAGE = 'lsiodev/wireguard'
1616
- PR_DOCKERHUB_IMAGE = 'lspipepr/wireguard'
1717
- DIST_IMAGE = 'alpine'
18-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.22/main/'
18+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.23/main/'
1919
- DIST_REPO_PACKAGES = 'wireguard-tools'
2020
- MULTIARCH='true'
2121
- CI='false'

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ init_diagram: |
158158
"wireguard:latest" <- Base Images
159159
# changelog
160160
changelogs:
161+
- {date: "24.01.26:", desc: "Rebase to Alpine 3.23 again as openresolv alpine 3.23 package has now been updated."}
161162
- {date: "22.01.26:", desc: "Revert to Alpine 3.22 due to resolvconf bug."}
162163
- {date: "04.01.26:", desc: "Rebase to Alpine 3.23."}
163164
- {date: "15.07.25:", desc: "Rebase to Alpine 3.22. Remove iptables-legacy shim."}

root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ if [[ ! -f /config/coredns/Corefile ]]; then
194194
cp /defaults/Corefile /config/coredns/Corefile
195195
fi
196196

197+
# let openresolv take control of resolv.conf
198+
resolvconf -a control 2>/dev/null < /etc/resolv.conf
199+
resolvconf -u
200+
197201
# permissions
198202
lsiown -R abc:abc \
199203
/config

0 commit comments

Comments
 (0)