grafana: remove SHA1 workaround
Change-Id: I08fe2827bc58baa95d396daf28de1079e3df4f77
This commit is contained in:
parent
a840ac0d7c
commit
47a9a81859
@ -74,10 +74,6 @@ COPY dnf.conf /etc/dnf/dnf.conf
|
||||
{% set base_yum_url_packages = [
|
||||
] %}
|
||||
|
||||
{#
|
||||
SHA1 keys are not supported in RHEL9: https://github.com/rpm-software-management/rpm/issues/1977
|
||||
'https://packages.grafana.com/gpg.key',
|
||||
#}
|
||||
{% set base_yum_repo_keys = [
|
||||
] %}
|
||||
|
||||
|
@ -13,11 +13,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.configure_user(name='grafana', homedir='/usr/share/grafana') }}
|
||||
|
||||
{# NOTE(hrw): RHEL 9 disallows SHA1 gpg keys but grafana still not updated #}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
RUN update-crypto-policies --set DEFAULT:SHA1
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(grafana_packages | customizable("packages")) }}
|
||||
|
||||
WORKDIR /usr/share/grafana
|
||||
|
Loading…
x
Reference in New Issue
Block a user