Do not enable buildroot repositories during package install

Related: #1620520
This commit is contained in:
Petr Kubat 2018-11-15 07:58:21 +01:00 committed by Honza Horak
commit 9b3a59fa00

View file

@ -39,7 +39,7 @@ EXPOSE 3306
# 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 --enablerepo rhel-8-server-buildroot-rpms install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum clean all && \
mkdir -p /var/lib/mysql/data && chown -R mysql /var/lib/mysql && \