caching apt
This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user