From aff10ee134e552225939a49a05df475e2023cca0 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Fri, 8 Apr 2016 23:24:53 +0200 Subject: [PATCH] updated gpghome key location --- Dockerfile | 3 +++ mirror/syncubuntu.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0139d10..c4eda79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/mirror/syncubuntu.sh b/mirror/syncubuntu.sh index bd69c61..c59375f 100755 --- a/mirror/syncubuntu.sh +++ b/mirror/syncubuntu.sh @@ -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 \