Block a user
vpn-proxy/gateway (73488384e423061dfa120d2de341cc7444b43dd8)
Published 2026-05-19 16:31:55 +03:00 by dokril
Installation
docker pull git.dokops.ru/dokril/vpn-proxy/gateway:73488384e423061dfa120d2de341cc7444b43dd8sha256:f8f52e926aa92f59b79209ff305ec8d666b610d5a660653baebdd16afc85b9ac
Images
| Digest | OS / Arch | Size |
|---|---|---|
| add8e13ebe | linux/amd64 | 111 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1777939200' |
| ARG SINGBOX_VERSION=1.12.13 |
| ARG HTTP_PROXY=http://192.168.50.111:8080 |
| ARG HTTPS_PROXY=http://192.168.50.111:8080 |
| ARG NO_PROXY=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 |
| ARG http_proxy=http://192.168.50.111:8080 |
| ARG https_proxy=http://192.168.50.111:8080 |
| ARG no_proxy=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 |
| RUN |7 SINGBOX_VERSION=1.12.13 HTTP_PROXY=http://192.168.50.111:8080 HTTPS_PROXY=http://192.168.50.111:8080 NO_PROXY=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 http_proxy=http://192.168.50.111:8080 https_proxy=http://192.168.50.111:8080 no_proxy=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 /bin/sh -c export http_proxy="${http_proxy:-${HTTP_PROXY:-}}" && export https_proxy="${https_proxy:-${HTTPS_PROXY:-}}" && export no_proxy="${no_proxy:-${NO_PROXY:-}}" && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl iptables ipset iproute2 nodejs npm dumb-init && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |7 SINGBOX_VERSION=1.12.13 HTTP_PROXY=http://192.168.50.111:8080 HTTPS_PROXY=http://192.168.50.111:8080 NO_PROXY=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 http_proxy=http://192.168.50.111:8080 https_proxy=http://192.168.50.111:8080 no_proxy=localhost,127.0.0.1,192.168.50.0/24,10.0.0.0/8 /bin/sh -c set -eux; export http_proxy="${http_proxy:-${HTTP_PROXY:-}}"; export https_proxy="${https_proxy:-${HTTPS_PROXY:-}}"; export no_proxy="${no_proxy:-${NO_PROXY:-}}"; arch="$(dpkg --print-architecture)"; case "$arch" in amd64) sb_arch="amd64" ;; arm64) sb_arch="arm64" ;; *) echo "Unsupported architecture: $arch" >&2; exit 1 ;; esac; curl -fsSL "https://github.com/SagerNet/sing-box/releases/download/v${SINGBOX_VERSION}/sing-box-${SINGBOX_VERSION}-linux-${sb_arch}.tar.gz" -o /tmp/sing-box.tgz; tar -xzf /tmp/sing-box.tgz -C /tmp; mv "/tmp/sing-box-${SINGBOX_VERSION}-linux-${sb_arch}/sing-box" /usr/local/bin/sing-box; chmod +x /usr/local/bin/sing-box; rm -rf /tmp/sing-box* # buildkit |
| ARG SINGBOX_VERSION=1.12.13 |
| ARG INSTALL_RUNTIME_DEPS=false |
| ARG INSTALL_SINGBOX=false |
| COPY dist /app/dist # buildkit |
| RUN |3 SINGBOX_VERSION=1.12.13 INSTALL_RUNTIME_DEPS=false INSTALL_SINGBOX=false /bin/sh -c if [ "${INSTALL_RUNTIME_DEPS}" = "true" ]; then apt-get update && apt-get install -y --no-install-recommends ca-certificates curl iptables ipset iproute2 nodejs dumb-init && rm -rf /var/lib/apt/lists/*; else command -v dumb-init >/dev/null && command -v node >/dev/null && command -v iptables >/dev/null && command -v ipset >/dev/null; fi # buildkit |
| RUN |3 SINGBOX_VERSION=1.12.13 INSTALL_RUNTIME_DEPS=false INSTALL_SINGBOX=false /bin/sh -c if [ "${INSTALL_SINGBOX}" = "true" ]; then set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in amd64) sb_arch="amd64" ;; arm64) sb_arch="arm64" ;; *) echo "Unsupported architecture: $arch" >&2; exit 1 ;; esac; curl -fsSL "https://github.com/SagerNet/sing-box/releases/download/v${SINGBOX_VERSION}/sing-box-${SINGBOX_VERSION}-linux-${sb_arch}.tar.gz" -o /tmp/sing-box.tgz; tar -xzf /tmp/sing-box.tgz -C /tmp; mv "/tmp/sing-box-${SINGBOX_VERSION}-linux-${sb_arch}/sing-box" /usr/local/bin/sing-box; chmod +x /usr/local/bin/sing-box; rm -rf /tmp/sing-box*; else command -v sing-box >/dev/null; fi # buildkit |
| WORKDIR /app |
| COPY package.json /app/package.json # buildkit |
| COPY src/server /app/src/server # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |3 SINGBOX_VERSION=1.12.13 INSTALL_RUNTIME_DEPS=false INSTALL_SINGBOX=false /bin/sh -c chmod +x /entrypoint.sh && mkdir -p /etc/sing-box /var/lib/vpn-proxy /var/lib/sing-box # buildkit |
| ENV PORT=3456 PROXY_PORT=8080 PROXY_BIND_IP=0.0.0.0 TPROXY_PORT=7895 DIRECT_BYPASS_CACHE=false RULE_SET_DOWNLOAD_DETOUR=vpn DATA_DIR=/var/lib/vpn-proxy SING_BOX_CONFIG=/etc/sing-box/config.json SING_BOX_CACHE=/var/lib/sing-box/cache.db |
| ENTRYPOINT ["dumb-init" "/entrypoint.sh"] |
Details
2026-05-19 16:31:55 +03:00
Versions (32)
View all
Container
0
OCI / Docker
latest
2026-05-21
b5d4c617831c95c443bdac18ed91ce24c3c7008c
2026-05-21
ab44626a0f16f699bfe9c5c82b4abc84d6f879f3
2026-05-20
95edefa84f55c52366eadc5db47db8b74626bdf4
2026-05-19
f914c28bc5a2c562905de43e2b372cb6306448be
2026-05-19