From 1b13cc46f3036df5eec1fe266b560caff8bef70e Mon Sep 17 00:00:00 2001 From: Jakub Janco Date: Wed, 9 Jan 2019 17:12:49 +0100 Subject: [PATCH] Remove shadow-utils from rpm -V check, because there are some file capabilities dropped in container Resolves: #1620520 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e36ffcc..5acdfad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \