Block a user
harbor-net/gateway-control (4c583840568eeb8b47a317d00378c6c56324caf4)
Published 2026-09-19 09:59:33 +03:00 by dokril
Installation
docker pull git.dokops.ru/dokril/harbor-net/gateway-control:4c583840568eeb8b47a317d00378c6c56324caf4sha256:668fb5071d6ce54a55f50ea7d72efeef54b4e973100767a65c8538b0c3da2efe
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 7adfd9992f | linux/amd64 | 184 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600' |
| ARG SINGBOX_VERSION=1.14.0-rc.5 |
| ARG APT_MIRROR=http://mirror.yandex.ru/debian |
| ARG APT_SECURITY_MIRROR=http://mirror.yandex.ru/debian-security |
| 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 |9 SINGBOX_VERSION=1.14.0-rc.5 APT_MIRROR=http://mirror.yandex.ru/debian APT_SECURITY_MIRROR=http://mirror.yandex.ru/debian-security 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:-}}" && for file in /etc/apt/sources.list /etc/apt/sources.list.d/*.sources; do [ -f "$file" ] || continue; sed -i -e "s|http://deb.debian.org/debian-security|${APT_SECURITY_MIRROR}|g" -e "s|http://security.debian.org/debian-security|${APT_SECURITY_MIRROR}|g" -e "s|http://deb.debian.org/debian|${APT_MIRROR}|g" "$file"; done && apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true update && apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true install -y --no-install-recommends ca-certificates curl iptables ipset iproute2 ieee-data nodejs npm dumb-init && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |9 SINGBOX_VERSION=1.14.0-rc.5 APT_MIRROR=http://mirror.yandex.ru/debian APT_SECURITY_MIRROR=http://mirror.yandex.ru/debian-security 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 --retry 5 --retry-all-errors --retry-delay 2 -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 |
| COPY /usr/local /usr/local # buildkit |
| ARG SINGBOX_VERSION=1.14.0-rc.5 |
| ARG INSTALL_RUNTIME_DEPS=false |
| ARG INSTALL_SINGBOX=false |
| RUN |3 SINGBOX_VERSION=1.14.0-rc.5 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 ieee-data 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.14.0-rc.5 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 --retry 5 --retry-all-errors --retry-delay 2 -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 /src/dist /app/dist # buildkit |
| COPY /src/node_modules/@bufbuild/protobuf /app/node_modules/@bufbuild/protobuf # buildkit |
| COPY /src/node_modules/@connectrpc/connect /app/node_modules/@connectrpc/connect # buildkit |
| COPY /src/node_modules/@connectrpc/connect-node /app/node_modules/@connectrpc/connect-node # buildkit |
| COPY /src/node_modules/tldts /app/node_modules/tldts # buildkit |
| COPY /src/node_modules/tldts-core /app/node_modules/tldts-core # buildkit |
| COPY scripts/check-sqlite-runtime.mjs /app/scripts/check-sqlite-runtime.mjs # buildkit |
| RUN |3 SINGBOX_VERSION=1.14.0-rc.5 INSTALL_RUNTIME_DEPS=false INSTALL_SINGBOX=false /bin/sh -c node /app/scripts/check-sqlite-runtime.mjs # buildkit |
| COPY package.json /app/package.json # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |3 SINGBOX_VERSION=1.14.0-rc.5 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 SING_BOX_API_PORT=19090 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 SING_BOX_TRAFFIC_SOURCE=snapshot |
| ENTRYPOINT ["dumb-init" "/entrypoint.sh"] |
Details
2026-09-19 09:59:33 +03:00
Versions (25)
View all
Container
0
OCI / Docker
latest
2026-09-19
4c583840568eeb8b47a317d00378c6c56324caf4
2026-09-19
74c5b664821ae57eac6251270d59d70c70a6ef12
2026-09-10
1ae23d848b44728198ec62a8456c3ee6c3ec8625
2026-09-10
ab14fc979e237ddf424f562d6662ce7e82c046f3
2026-09-01