wireguard (latest)
Published 2023-06-21 17:20:56 +08:00 by FengHao
Installation
docker pull gitea.qianking.xyz:3443/fenghao/wireguard:latest
sha256:aa6376ec3ef4c12eba0023047dd74342fe32bf925090805fafa838ff0303f5c5
About this package
[WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.
Image Layers
COPY /root-out/ / # buildkit |
ARG BUILD_DATE |
ARG VERSION |
ARG MODS_VERSION=v3 |
ARG PKG_INST_VERSION=v1 |
LABEL build_version=Linuxserver.io version:- 5e6c7035-ls25 Build-date:- 2023-06-03T13:27:46+00:00 |
LABEL maintainer=TheLamer |
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN |4 BUILD_DATE=2023-06-03T13:27:46+00:00 VERSION=5e6c7035-ls25 MODS_VERSION=v3 PKG_INST_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates coreutils curl jq netcat-openbsd procps shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
COPY root/ / # buildkit |
ENTRYPOINT ["/init"] |
ENV LSIO_FIRST_PARTY=true |
ARG BUILD_DATE |
ARG VERSION |
ARG WIREGUARD_RELEASE |
LABEL build_version=Linuxserver.io version:- v1.0.20210914-ls119 Build-date:- 2023-06-08T11:19:33+00:00 |
LABEL maintainer=thespad |
RUN |3 BUILD_DATE=2023-06-08T11:19:33+00:00 VERSION=v1.0.20210914-ls119 WIREGUARD_RELEASE= /bin/sh -c echo "**** install dependencies ****" && apk add --no-cache --virtual=build-dependencies build-base elfutils-dev gcc git linux-headers && apk add --no-cache bc coredns gnupg grep iproute2 iptables ip6tables iputils libcap-utils libqrencode net-tools openresolv perl && echo "wireguard" >> /etc/modules && echo "**** install wireguard-tools ****" && if [ -z ${WIREGUARD_RELEASE+x} ]; then WIREGUARD_RELEASE=$(curl -sX GET "https://api.github.com/repos/WireGuard/wireguard-tools/tags" | jq -r .[0].name); fi && cd /app && git clone https://git.zx2c4.com/wireguard-tools && cd wireguard-tools && git checkout "${WIREGUARD_RELEASE}" && 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 && make -C src -j$(nproc) && make -C src install && echo "**** clean up ****" && apk del --no-network build-dependencies && rm -rf /tmp/* # buildkit |
COPY /root / # buildkit |
EXPOSE map[51820/udp:{}] |
Labels
Key | Value |
---|---|
build_version | Linuxserver.io version:- v1.0.20210914-ls119 Build-date:- 2023-06-08T11:19:33+00:00 |
maintainer | thespad |
org.opencontainers.image.authors | linuxserver.io |
org.opencontainers.image.created | 2023-06-08T11:19:33+00:00 |
org.opencontainers.image.description | [WireGuard®](https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry. |
org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-wireguard |
org.opencontainers.image.licenses | GPL-3.0-only |
org.opencontainers.image.ref.name | 3be903877423818d0a4de3c8262d1d1dec4244ed |
org.opencontainers.image.revision | 3be903877423818d0a4de3c8262d1d1dec4244ed |
org.opencontainers.image.source | https://github.com/linuxserver/docker-wireguard |
org.opencontainers.image.title | Wireguard |
org.opencontainers.image.url | https://github.com/linuxserver/docker-wireguard/packages |
org.opencontainers.image.vendor | linuxserver.io |
org.opencontainers.image.version | v1.0.20210914-ls119 |