Browse Source

CentOS 8: disable repo_gpgcheck for grafana image

DNF does not seem to accept keys imported by rpm --import for signing a
repo (as opposed to packages). This causes it to prompt during package
install, which does not work without a terminal in the build container.

We have gpgcheck=1 for the grafana repo, so packages are at least
signed. We don't have repo_gpgcheck elsewhere, so it seems reasonable to
disable it for grafana.

Change-Id: Ice120e8001fd9e8bb37ca4f2df26259cf798ee0e
Partially-Implements: blueprint centos-rhel-8
changes/99/704999/1
Mark Goddard 2 years ago
parent
commit
05e2c43d66
  1. 1
      docker/base/grafana.repo

1
docker/base/grafana.repo

@ -1,7 +1,6 @@
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=0
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key

Loading…
Cancel
Save