Block a user
harbor-net/gateway-control (12c1b128f8f2eec379d354f7ea356ef3ab8df58e)
Published 2026-07-12 14:48:23 +03:00 by dokril
Installation
docker pull git.dokops.ru/dokril/harbor-net/gateway-control:12c1b128f8f2eec379d354f7ea356ef3ab8df58esha256:a6f819a205f4e74a630c6067203d1e16e1d9fac29c94e3fc5fc88a299c0c3542
Images
| Digest | OS / Arch | Size |
|---|---|---|
| ce5e961e17 | 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 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; 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 src/shared /app/src/shared # 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 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-07-12 14:48:23 +03:00
Versions (71)
View all
Container
0
OCI / Docker
fdc6f687f3f30294a59c317914f27c1aa98b41af
2026-07-31
latest
2026-07-31
c6d3fd39fbf23208f546a58c138b58e746ef083c
2026-07-15
b4adcce26a2e1f8712b200858559c3918f8cb269
2026-07-15
7b94f2dee435ce21835cd17a426d8ce23ac9a9e9
2026-07-15