Block a user
vpn-proxy/gateway (5c9a291920087cb9b829b2c8680b7e27e561f8e5)
Published 2026-05-08 22:28:22 +03:00 by dokril
Installation
docker pull git.dokops.ru/dokril/vpn-proxy/gateway:5c9a291920087cb9b829b2c8680b7e27e561f8e5sha256:4ed722afacf860a4dfecea8ec05a639746a555c49fe96a5f01770e8e0bf9360d
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1776729600' |
| ARG SINGBOX_VERSION=1.12.13 |
| COPY dist /app/dist # buildkit |
| RUN |1 SINGBOX_VERSION=1.12.13 /bin/sh -c 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/* # buildkit |
| RUN |1 SINGBOX_VERSION=1.12.13 /bin/sh -c 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* # buildkit |
| WORKDIR /app |
| COPY package.json /app/package.json # buildkit |
| COPY src/server /app/src/server # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |1 SINGBOX_VERSION=1.12.13 /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 TPROXY_PORT=7895 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-08 22:28:22 +03:00
Versions (55)
View all
Container
0
OCI / Docker
linux/amd64
81 MiB
latest
2026-07-11
b53cd08dccfacec91cba5f70a25fd16534f834fa
2026-07-11
edad26d9780305addd8545de8177b3e40445db75
2026-07-11
322f5a125bfbd5e65c564e12d5a350985a0424f7
2026-07-11
85053f9948a5b99fb335f48e89271b6c63c4a246
2026-07-11