updated gpghome key location

This commit is contained in:
Jeffrey Paul 2016-04-08 23:24:53 +02:00
parent 4d6c476008
commit aff10ee134
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,9 @@ RUN chmod +x /etc/service/nginx/run && \
chmod +x /etc/service/mirror/run
RUN \
export GNUPGHOME=/etc/debmirror/ubuntu && \
mkdir -p $GNUPGHOME && \
chmod go-rwx $GNUPGHOME && \
gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg && \
gpg --import /usr/share/keyrings/ubuntu-master-keyring.gpg

View File

@ -4,6 +4,8 @@ set -x
THISDIR="$(cd $(dirname "$BASH_SOURCE") && pwd -P)"
DST="/var/mirror"
export GNUPGHOME="/etc/debmirror/ubuntu"
debmirror \
-a i386,amd64 \
--no-source \