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
188
200
189
if [ -n"$DOCKER_IMAGE_HASH" ];then
201
190
base_image="$DISTRO@sha256:$DOCKER_IMAGE_HASH"
@@ -209,7 +198,8 @@ EOF
209
198
FROM $base_image
210
199
211
200
ENV DEBIAN_FRONTEND=noninteractive
212
-
RUN rm /etc/apt/sources.list.d/*esm*.list &> /dev/null
201
+
# 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
202
+
RUN [ -f /etc/apt/sources.list.d/*esm*.list ] && rm /etc/apt/sources.list.d/*esm*.list
213
203
RUN echo 'Acquire::http { Proxy "$MIRROR_BASE"; };' > /etc/apt/apt.conf.d/50cacher
214
204
RUN apt-get update && apt-get --no-install-recommends -y install $addpkg
0 commit comments