Skip to content

Commit

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

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: Wilfred Almeida <60785452+WilfredAlmeida@users.noreply.github.com>
  • Loading branch information
YangJiao0817 authored and WilfredAlmeida committed Jul 8, 2023
1 parent 526ee6a commit 51a2ac1
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 51a2ac1

Please sign in to comment.