• Joined on 2025-12-03

vpn-proxy/gateway (c971b40eae0746aaafa36b89e46c0af8c1f786db)

Published 2026-05-08 16:34:37 +03:00 by dokril

Installation

docker pull git.dokops.ru/dokril/vpn-proxy/gateway:c971b40eae0746aaafa36b89e46c0af8c1f786db
sha256:bd1fed7e04cd907dfa105601d14ed87a1deb1382e5eb54b04339d69c1c80750c

Images

Digest OS / Arch Size
53b98fe191 linux/amd64 81 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1776729600'
ARG SINGBOX_VERSION=1.12.13
RUN |1 SINGBOX_VERSION=1.12.13 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl iptables 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 /app/dist /app/dist # buildkit
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
Container
2026-05-08 16:34:37 +03:00
0
OCI / Docker
Versions (32) View all