22 lines
469 B
Docker
22 lines
469 B
Docker
FROM debian:10.5-slim
|
|
|
|
COPY config/deb/entrypoint.sh /opt/entrypoint.sh
|
|
RUN apt-get update -q \
|
|
&& \
|
|
apt install -y -qq apt-mirror apt-transport-https software-properties-common wget \
|
|
&& \
|
|
apt-get autoremove \
|
|
&& \
|
|
rm -rf /var/cache/apt/* \
|
|
&& \
|
|
mkdir -p /data/ \
|
|
&& \
|
|
touch /var/log/cron.log \
|
|
&& \
|
|
chmod u+x /opt/entrypoint.sh
|
|
|
|
COPY config/deb/mirror.list /etc/apt/mirror.list
|
|
|
|
VOLUME ["/data/"]
|
|
ENTRYPOINT ["/opt/entrypoint.sh"]
|