You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run -d -p 3142:3142 --name apt_cacher_ng apt_cacher_ng
198
-
fi
199
187
200
188
if [ -n"$DOCKER_IMAGE_HASH" ];then
201
189
base_image="$DISTRO@sha256:$DOCKER_IMAGE_HASH"
@@ -209,7 +197,8 @@ EOF
209
197
FROM $base_image
210
198
211
199
ENV DEBIAN_FRONTEND=noninteractive
212
-
RUN rm /etc/apt/sources.list.d/*esm*.list &> /dev/null
200
+
# DELETE ESM Files: W: Failed to fetch https://esm.ubuntu.com/ubuntu/dists/trusty-infra-security/main/binary-amd64/Packages Received HTTP code 403 from proxy after CONNECT
201
+
RUN [ -f /etc/apt/sources.list.d/*esm*.list ] && rm /etc/apt/sources.list.d/*esm*.list
213
202
RUN echo 'Acquire::http { Proxy "$MIRROR_BASE"; };' > /etc/apt/apt.conf.d/50cacher
214
203
RUN apt-get update && apt-get --no-install-recommends -y install $addpkg
0 commit comments