mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 13:25:35 +00:00
Upgrade migrator base os to photon 2.0
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
faaa531558
commit
cd50d85c47
|
@ -4,7 +4,8 @@ ENV PGDATA /var/lib/postgresql/data
|
||||||
|
|
||||||
## have both mysql and pgsql installed.
|
## have both mysql and pgsql installed.
|
||||||
RUN tdnf distro-sync -y \
|
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 \
|
&& 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 \
|
&& 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 \
|
linux-api-headers glibc-devel binutils zlib-devel openssl-devel postgresql >> /dev/null \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user