Use gnupg v1 for aptly compatibility
This commit is contained in:
parent
f3782e5035
commit
a4bdd2f1dc
|
@ -1,7 +1,7 @@
|
|||
FROM debian:stretch
|
||||
MAINTAINER Benjamin Bohard
|
||||
|
||||
RUN apt update && apt install -y ca-certificates gnupg && apt clean
|
||||
RUN apt update && apt install -y ca-certificates gnupg1 && apt clean
|
||||
COPY aptly.sources.list /etc/apt/sources.list.d/aptly.list
|
||||
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
|
||||
RUN apt update && apt install -y aptly && apt clean
|
||||
|
|
4
aptly.sh
4
aptly.sh
|
@ -15,8 +15,8 @@ cat >keyparms <<EOF
|
|||
%echo done
|
||||
EOF
|
||||
export PINENTRY_USER_DATA="USE_CURSES=1"
|
||||
gpg --gen-key --batch keyparms
|
||||
gpg --export --armor > /signing-key/dev.pubkey
|
||||
gpg1 --gen-key --batch keyparms
|
||||
gpg1 --export --armor > /signing-key/dev.pubkey
|
||||
|
||||
aptly repo create --component="main" --distribution="ubuntu" dev
|
||||
aptly repo add dev /packages
|
||||
|
|
Loading…
Reference in New Issue