• Joined on 2025-12-03

harbor-net/gateway-control (797c73d35c879927ce8f266138288afa427fa937)

Published 2026-08-31 05:44:21 +03:00 by dokril

Installation

docker pull git.dokops.ru/dokril/harbor-net/gateway-control:797c73d35c879927ce8f266138288afa427fa937
sha256:28f32cf5c7d7f2af65a16067def7a9b2705c7a5448f3c25b45ab410f0e709239

Images

Digest OS / Arch Size
72aec2cf41 linux/amd64 126 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
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 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.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 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
Container
2026-08-31 05:44:21 +03:00
0
OCI / Docker
Versions (25) View all