Skip to content

Commit

Permalink
fix(Images.PGPool): Testing 123
Browse files Browse the repository at this point in the history
  • Loading branch information
EntraptaJ committed Feb 15, 2024
1 parent 0b5f961 commit 1952282
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Images/PGPool/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,21 @@ RUN set -eux \
\
&& mkdir -p /tmp/out/var/run/pgpool \
&& mkdir -p /tmp/out/var/run/postgresql \
&& mkdir -p /tmp/out${PGPOOL_INSTALL_DIR} \
&& chown -R postgres:postgres /tmp/out/var/run/pgpool /tmp/out/var/run/postgresql /tmp/out${PGPOOL_INSTALL_DIR}
&& mkdir -p /tmp/out/opt/pgpool-II \
&& chown -R postgres:postgres /tmp/out/var/run/pgpool /tmp/out/var/run/postgresql /tmp/out/opt/pgpool-II

RUN set -eux \
\
&& apk del --purge --rdepends fetch-dependencies build-dependencies

COPY entrypoint.sh /tmp/out${PGPOOL_INSTALL_DIR}/bin/
COPY start.sh /tmp/out${PGPOOL_INSTALL_DIR}/bin/
COPY entrypoint.sh /tmp/out/opt/pgpool-II/bin/
COPY start.sh /tmp/out/opt/pgpool-II/bin/


FROM alpine:latest

COPY --from=builder /tmp/out /

WORKDIR /

ENV PGPOOL_INSTALL_DIR /opt/pgpool-II
Expand All @@ -84,7 +86,7 @@ RUN apk add --no-cache \
&& mkdir -p /var/run \
&& mkdir -p /opt/pgpool-II

COPY --from=builder /tmp/out /


USER postgres

Expand Down

0 comments on commit 1952282

Please sign in to comment.