Fix build db base image symlink error (#18673)

Fix #18672

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
Yang Jiao 2023-05-12 15:45:27 +08:00 committed by GitHub
parent f2fc0f6a99
commit cb8a3d0c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@ FROM photon:4.0
ENV PGDATA /var/lib/postgresql/data
RUN tdnf install -y shadow gzip postgresql13 postgresql findutils bc >> /dev/null \
RUN tdnf install -y postgresql13 >> /dev/null
RUN tdnf install -y shadow gzip postgresql findutils bc >> /dev/null \
&& groupadd -r postgres --gid=999 \
&& useradd -m -r -g postgres --uid=999 postgres \
&& mkdir -p /docker-entrypoint-initdb.d \