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@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list RUN apt-get update RUN apt-get install -y \ procps build-essential dpkg-dev dpkg-cross \ devscripts make RUN apt-get build-dep -y linux-source #Cleanups RUN apt-get clean -y && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /var/cache/apt/*