updated gpghome key location
This commit is contained in:
parent
4d6c476008
commit
aff10ee134
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user