Update dependencies for the Pandora FMS base Docker image.

- Install git-lfs.
- Install wmic from the repos, instead of from a local file.
- Upgrade MySQL to version 8.4.
This commit is contained in:
Ramon Novoa 2022-04-29 11:09:21 +02:00
parent 1bdb0af99c
commit d020a5d714
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ RUN { \
RUN dnf install -y vim wget bzip2 curl && \
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
dnf install -y yum-utils && \
dnf install -y https://dev.mysql.com/get/mysql80-community-release-el8-2.noarch.rpm && \
dnf install -y https://dev.mysql.com/get/mysql80-community-release-el8-4.noarch.rpm && \
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \
dnf config-manager --set-enabled powertools && \
dnf module reset -y php && \
@ -30,6 +30,7 @@ RUN dnf install -y vim wget bzip2 curl && \
pip3 install unittest2 && \
pip3 install testtools && \
dnf install -y git \
git-lfs \
passwd \
openssh-server \
httpd \
@ -90,6 +91,7 @@ RUN dnf install -y vim wget bzip2 curl && \
fontconfig-devel \
libstdc++ \
gettext \
wmic \
cpanminus && \
cpanm Geo::IP && \
mkdir -p /opt/phantomjs/bin && cd /opt/phantomjs/bin && \
@ -102,8 +104,6 @@ RUN dnf install -y vim wget bzip2 curl && \
setcap -r /usr/libexec/mysqld && \
yum clean all
ADD wmic /usr/bin/
# Install debugg dependencies.
RUN dnf install -y \
initscripts \