Remove shadow-utils from rpm -V check, because there are some file capabilities dropped in container

Resolves: #1620520
This commit is contained in:
Jakub Janco 2019-01-09 17:12:49 +01:00 committed by Honza Horak
commit 1b13cc46f3

View file

@ -38,8 +38,8 @@ EXPOSE 3306
# safe in the future. This should *never* change, the last test is there
# to make sure of that.
RUN yum -y module enable mysql:$MYSQL_VERSION && \
INSTALL_PKGS="policycoreutils rsync tar gettext hostname bind-utils groff-base shadow-utils mysql-server" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
INSTALL_PKGS="policycoreutils rsync tar gettext hostname bind-utils groff-base mysql-server" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS shadow-utils && \
rpm -V $INSTALL_PKGS && \
yum clean all && \
mkdir -p /var/lib/mysql/data && chown -R mysql /var/lib/mysql && \