This commit is contained in:
2019-01-25 06:10:37 +00:00
parent d607b6ddc4
commit 18828fdc8e
2 changed files with 9 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d
# phusion baseimage says i'm not supposed to do this
# and i don't care:
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y run-one nginx make debmirror
RUN apt-get install -y run-one nginx make debmirror xz-utils
ADD ./mirror /opt/mirror
ADD ./mirror.run /etc/service/mirror/run
@@ -22,6 +22,6 @@ RUN \
mkdir -p $GNUPGHOME && \
chmod go-rwx $GNUPGHOME && \
gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg && \
cp $GNUPGHOME/pubring.gpg $GNUPGHOME/trustedkeys.gpg
cp $GNUPGHOME/pubring.kbx $GNUPGHOME/trustedkeys.kbx
EXPOSE 80