Remove the tdnf error eater in docker files

This commit is contained in:
wangyan 2018-08-07 22:58:01 -07:00
parent d4b17d4722
commit 063e44c486
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ FROM photon:1.0
MAINTAINER wangyan@vmware.com
RUN tdnf distro-sync -y || echo \
RUN tdnf distro-sync -y \
&& tdnf erase vim -y \
&& tdnf install sudo -y >> /dev/null\
&& tdnf clean all \

View File

@ -3,7 +3,7 @@ FROM photon:1.0
ENV PGDATA /var/lib/postgresql/data
## have both mysql and pgsql installed.
RUN tdnf distro-sync -y || echo \
RUN tdnf distro-sync -y \
&& tdnf install -y sed shadow procps-ng gawk gzip sudo net-tools >> /dev/null\
&& groupadd -r -g 10000 mysql && useradd --no-log-init -r -g 10000 -u 10000 mysql \
&& tdnf install -y mariadb-server mariadb mariadb-devel python2 python2-devel python-pip gcc \