From 96f723f82bbe4066b64ba44589f2cfc0c8f0cf25 Mon Sep 17 00:00:00 2001 From: sneak Date: Sat, 15 Feb 2020 17:44:17 +0000 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 056af1f..1b34dc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,12 @@ FROM phusion/baseimage:0.11 VOLUME /var/mirror +ENV MIRROR_ARCHITECTURES "amd64" +ENV SOURCE_MIRROR "" +ENV MIRROR_CATEGORIES main,universe,restricted,multiverse +ENV UBUNTU_MIRROR_SOURCE archive.ubuntu.com +ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports + ADD ./sources.list /etc/apt/sources.list RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d # phusion baseimage says i'm not supposed to do this @@ -24,6 +30,5 @@ RUN \ gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg && \ cp $GNUPGHOME/pubring.kbx $GNUPGHOME/trustedkeys.kbx -VOLUME /var/mirror EXPOSE 80