Skip to content

Commit

Permalink
chore: create /var/run/postgresql folder before initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor authored and SDawley committed Nov 15, 2024
1 parent d0d5adb commit 5741a64
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ RUN \
rm -rf /build

RUN \
mkdir -p /var/run/postgresql && \
chmod 777 /var/run/postgresql && \
# Add UTF-8 for the database
localedef -f UTF-8 -i en_US en_US.UTF-8 && \
# set up postgres user
Expand Down Expand Up @@ -118,8 +120,7 @@ RUN \
echo -n "ovsx: "; /tmp/opt/ovsx/bin/ovsx --version && \
echo "======================"

RUN chmod 777 /var/run/postgresql && \
initdb && \
RUN initdb && \
/usr/local/bin/import_vsix.sh && \
chmod -R 777 /tmp/file && \
rm /var/lib/pgsql/15/data/database/postmaster.pid && \
Expand Down

0 comments on commit 5741a64

Please sign in to comment.