using apt-cache.lan

This commit is contained in:
2021-02-18 21:08:56 +01:00
parent 5932220ead
commit c918c39e6e
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
FROM debian:stable-slim
RUN apt-get update && apt-get install -y \
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \
sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \
apt-get update && apt-get install -y \
apt-cacher-ng procps && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* && \