Block a user
harbor-net/gateway-dataplane (4a566e082a6a9b6776c0068f0b1254b5861aaa26)
Published 2026-08-25 16:42:59 +03:00 by dokril
Installation
docker pull git.dokops.ru/dokril/harbor-net/gateway-dataplane:4a566e082a6a9b6776c0068f0b1254b5861aaa26sha256:633fe0c7756049f612998ac748b2dc65b2500b42088b5d6f909dcdd12508b40c
Images
| Digest | OS / Arch | Size |
|---|---|---|
| fad94fa283 | linux/amd64 | 118 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1785715200' |
| ARG SINGBOX_VERSION=1.13.18 |
| 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.13.18 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.13.18 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.13.18 |
| ARG INSTALL_RUNTIME_DEPS=false |
| ARG INSTALL_SINGBOX=false |
| RUN |3 SINGBOX_VERSION=1.13.18 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.13.18 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 package.json /app/package.json # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |3 SINGBOX_VERSION=1.13.18 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 |
| ENTRYPOINT ["dumb-init" "/entrypoint.sh"] |
Details
2026-08-25 16:42:59 +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