caching apt

This commit is contained in:
2021-02-16 17:05:10 +01:00
parent eaa301118b
commit 92e343d226

View File

@@ -1,5 +1,11 @@
FROM debian:stable-slim
# APT-cache for all
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list.d/*
RUN apt-get update && apt-get install -y \
procps build-essential dpkg-dev dpkg-cross \
devscripts make && \