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