tests/docker: add support for DEB_KEYRING
commit4c5aeb12387f05348d3ea25c138c450005086ecd
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Jul 2020 06:45:04 +0000 (24 07:45 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 27 Jul 2020 08:41:35 +0000 (27 09:41 +0100)
tree7e770df5fd47aa48ea97680bac41adda44366117
parent182ec0607600f23e7768a1c3c490f61e36b15bc4
tests/docker: add support for DEB_KEYRING

For installing stuff from sid or ports you may need to manually
specify the location of the keyring. You can even import keys into
your personal keyring and point it there, e.g.:

  gpg --keyserver keyring.debian.org --recv-keys 84C573CD4E1AFD6C
  make docker-binfmt-image-debian-sid-hppa DEB_TYPE=sid DEB_ARCH=hppa \
      DEB_URL=http://ftp.ports.debian.org/debian-ports/ \
      EXECUTABLE=./hppa-linux-user/qemu-hppa V=1 \
      DEB_KEYRING=${HOME}/.gnupg/pubring.kbx

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200724064509.331-12-alex.bennee@linaro.org>
tests/docker/dockerfiles/debian-bootstrap.pre