Skip to content

Commit b8371ef

Browse files
committed
fix errors on docker image building by enabling stable repos
1 parent 06c561b commit b8371ef

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/docker/unit-tests/Dockerfile.unit-tests-alma10

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ ARG REGISTRY_URL=docker.io
33
FROM ${REGISTRY_URL}/almalinux:10
44

55
RUN bash -e <<EOF
6-
76
dnf install -y 'dnf-command(config-manager)' epel-release zstd jq
87
dnf config-manager --set-enabled crb
98

@@ -12,25 +11,25 @@ cat > /etc/yum.repos.d/centreon-plugins.repo <<'REPOEOF'
1211
[centreon-plugins-stable]
1312
name=centreon plugins stable x86_64
1413
baseurl=https://packages.centreon.com/rpm-plugins/el10/stable/x86_64
15-
enabled=0
14+
enabled=1
1615
gpgcheck=1
1716
gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
1817
[centreon-plugins-stable-noarch]
1918
name=centreon plugins stable noarch
2019
baseurl=https://packages.centreon.com/rpm-plugins/el10/stable/noarch
21-
enabled=0
20+
enabled=1
2221
gpgcheck=1
2322
gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
2423
[centreon-plugins-testing]
2524
name=centreon plugins testing x86_64
2625
baseurl=https://packages.centreon.com/rpm-plugins/el10/testing/x86_64
27-
enabled=0
26+
enabled=1
2827
gpgcheck=1
2928
gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
3029
[centreon-plugins-testing-noarch]
3130
name=centreon plugins testing noarch
3231
baseurl=https://packages.centreon.com/rpm-plugins/el10/testing/noarch
33-
enabled=0
32+
enabled=1
3433
gpgcheck=1
3534
gpgkey=https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
3635
[centreon-plugins-unstable]

.github/docker/unit-tests/Dockerfile.unit-tests-alma8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dnf install -y gcc make cpan perl-Test2-Suite.noarch perl-Test2-Plugin-NoWarning
5151
dnf -y install 'perl(Crypt::OpenSSL::AES)' 'perl-Net-Curl' 'perl(YAML::XS)' 'perl(Hash::Merge)' 'perl(Clone)' 'perl(CryptX)' 'perl(JSON::XS)' 'perl(JSON::PP)' 'perl(Digest::MD5::File)'
5252
dnf -y install 'perl(Hash::Merge)' 'perl(YAML::XS)' 'perl(ZMQ::FFI)' 'perl-CryptX' 'perl(EV)' 'perl(RRDs)' 'perl(DBI)' 'perl(DBD::SQLite)' 'perl(HTTP::Daemon)' 'perl(HTTP::Daemon::SSL)' 'perl(NetAddr::IP)' 'perl(Mojolicious)' 'perl(Mojo::IOLoop::Signal)' 'perl(Net::Curl)' 'perl(EV)'
5353
dnf -y install git mariadb
54-
# Replace libcurl-minimal with the full libcurl to enable NTLM support (removed from minimal build in RHEL 10)
54+
# Replace libcurl-minimal with the full libcurl to enable NTLM support (removed from minimal build in RHEL 8)
5555
dnf -y install --allowerasing libcurl
5656
dnf clean all
5757
mkdir -p /var/lib/centreon/centplugins/

.github/docker/unit-tests/Dockerfile.unit-tests-trixie

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ ENV LANG=en_US.utf8
1818

1919
RUN bash -e <<EOF
2020
# Add Centreon plugins repositories
21-
#echo "deb https://packages.centreon.com/apt-plugins-stable/ trixie main" | tee /etc/apt/sources.list.d/centreon-plugins.list
22-
#echo "deb https://packages.centreon.com/apt-plugins-testing/ trixie main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
23-
#echo "deb https://packages.centreon.com/apt-plugins-unstable/ trixie main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
21+
echo "deb https://packages.centreon.com/apt-plugins-stable/ trixie main" | tee /etc/apt/sources.list.d/centreon-plugins.list
22+
echo "deb https://packages.centreon.com/apt-plugins-testing/ trixie main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
23+
echo "deb https://packages.centreon.com/apt-plugins-unstable/ trixie main" | tee -a /etc/apt/sources.list.d/centreon-plugins.list
2424
echo "deb https://packages.centreon.com/apt-plugins-unstable/ trixie main" | tee a /etc/apt/sources.list.d/centreon-plugins.list
2525
wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
2626
apt-get update

0 commit comments

Comments
 (0)