Fix: add trusted=yes flag and remove missing security repo from Dockerfile
This commit is contained in:
+2
-3
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user