Add wireguard-tools v1.0.20260223 to rocky9

Build the wg and wg-quick CLI from the upstream tag snapshot; only the
rocky9 image builds it for now.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-11-13 10:46:28 +08:00
1 parent 9608a9616f
commit 3ca7753bd1
3 files changed
+11 -1

No files matched your search

+7
View File
@@ -824,6 +824,13 @@ RUN --mount=type=bind,from=sources,source=sqlite-autoconf-3540100.tar.gz,target=
&& cd .. \
&& rm -rf src
RUN --mount=type=bind,from=sources,source=wireguard-tools-v1.0.20260223.tar.xz,target=/tmp/wireguard-tools.tar.xz \
mkdir src \
&& tar --extract --xz --file=/tmp/wireguard-tools.tar.xz --directory=src --strip-components=1 \
&& make --directory=src/src --jobs="$(nproc)" \
&& make --directory=src/src install PREFIX=${PREFIX} WITH_WGQUICK=yes WITH_SYSTEMDUNITS=no WITH_BASHCOMPLETION=no \
&& rm -rf src
COPY source-stack.cmake ${PREFIX}/share/source-stack/source-stack.cmake
CMD ["/bin/bash"]