Upgrade migrator base os to photon 2.0

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
wang yan 2019-02-13 18:42:20 +08:00
parent faaa531558
commit cd50d85c47
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ ENV PGDATA /var/lib/postgresql/data
## have both mysql and pgsql installed.
RUN tdnf distro-sync -y \
&& tdnf install -y sed shadow procps-ng gawk gzip sudo net-tools >> /dev/null\
&& tdnf remove -y toybox \
&& tdnf install -y sed shadow procps-ng gawk gzip sudo net-tools glibc-i18n >> /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 \
linux-api-headers glibc-devel binutils zlib-devel openssl-devel postgresql >> /dev/null \