Break gateway build cycle with runtime base bootstrap
Some checks failed
Build and Deploy Gateway / build-and-deploy (push) Failing after 2m58s
Some checks failed
Build and Deploy Gateway / build-and-deploy (push) Failing after 2m58s
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
ARG BASE_IMAGE=mirror.gcr.io/library/debian:bookworm-slim
|
||||
FROM ${BASE_IMAGE}
|
||||
ARG SINGBOX_VERSION=1.12.13
|
||||
ARG HTTP_PROXY
|
||||
ARG HTTPS_PROXY
|
||||
ARG NO_PROXY
|
||||
ARG http_proxy
|
||||
ARG https_proxy
|
||||
ARG no_proxy
|
||||
|
||||
RUN apt-get update \
|
||||
RUN export http_proxy="${http_proxy:-${HTTP_PROXY:-}}" \
|
||||
&& export https_proxy="${https_proxy:-${HTTPS_PROXY:-}}" \
|
||||
&& export no_proxy="${no_proxy:-${NO_PROXY:-}}" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl iptables ipset iproute2 nodejs dumb-init \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN 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" ;; \
|
||||
|
||||
Reference in New Issue
Block a user