Update 'Dockerfile'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4729a2490e
commit
96f723f82b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue