Skip to content

Commit

Permalink
Fix build db base image symlink error
Browse files Browse the repository at this point in the history
Fix #18672

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
  • Loading branch information
Yang Jiao committed May 12, 2023
1 parent f2fc0f6 commit b81a91b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make/photon/db/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b81a91b

Please sign in to comment.