Migrate Harbor state and traffic history to SQLite
Build and Deploy Gateway / build-and-push (push) Successful in 1m22s
Build and Deploy Gateway / deploy (push) Successful in 16s

This commit is contained in:
2026-09-10 19:21:21 +03:00
parent ab14fc979e
commit 1ae23d848b
48 changed files with 1703 additions and 446 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
ARG BASE_IMAGE=mirror.gcr.io/library/debian:bookworm-slim
ARG NODE_BUILD_IMAGE=node:24.21.0-bookworm
FROM ${NODE_BUILD_IMAGE} AS node-runtime
FROM ${BASE_IMAGE}
COPY --from=node-runtime /usr/local /usr/local
COPY scripts/check-sqlite-runtime.mjs /opt/harbor/check-sqlite-runtime.mjs
RUN node /opt/harbor/check-sqlite-runtime.mjs
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
@@ -32,7 +37,7 @@ RUN export http_proxy="${http_proxy:-${HTTP_PROXY:-}}" \
-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 \
install -y --no-install-recommends ca-certificates curl iptables ipset iproute2 ieee-data dumb-init \
&& rm -rf /var/lib/apt/lists/*
RUN set -eux; \