Fix: add trusted=yes flag and remove missing security repo from Dockerfile

This commit is contained in:
2026-08-30 10:50:17 +07:00
parent 48b07817a5
commit 70b5c24a89
+2 -3
View File
@@ -24,10 +24,9 @@ ENV HTTPS_PROXY=${https_proxy}
RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye main" > /etc/apt/sources.list \ RUN echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye main" > /etc/apt/sources.list \
&& echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye-updates main" >> /etc/apt/sources.list \ && echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye-updates main" >> /etc/apt/sources.list \
&& echo "deb [trusted=yes] http://10.15.39.186:8081/repository/debian-proxy/ bullseye-security main" >> /etc/apt/sources.list \
&& rm -rf /etc/apt/sources.list.d/* \ && rm -rf /etc/apt/sources.list.d/* \
&& env -u http_proxy -u https_proxy -u HTTP_PROXY -u HTTPS_PROXY apt-get update \ && apt-get update \
&& env -u http_proxy -u https_proxy -u HTTP_PROXY -u HTTPS_PROXY apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
nginx \ nginx \
vim \ vim \
wget \ wget \