Skip to content

Commit

Permalink
Use pgxman installer script
Browse files Browse the repository at this point in the history
Use pgxman installer script
  • Loading branch information
owenthereal committed Sep 26, 2023
1 parent 7b29458 commit 5670e4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 62 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@ ARG POSTGRES_BASE_VERSION
# Always force rebuild of this layer
ARG TIMESTAMP=1
COPY third-party/pgxman /tmp/pgxman/
RUN set -eux; \
/tmp/pgxman/install.sh /tmp/pgxman/pgxman_${POSTGRES_BASE_VERSION}.yaml; \
pgxman install pgsql-http=1.5.0@${POSTGRES_BASE_VERSION}; \
rm -rf /tmp/pgxman
RUN curl -sfL https://github.com/pgxman/release/releases/latest/download/install.sh | sh -s -- /tmp/pgxman/pgxman_${POSTGRES_BASE_VERSION}.yaml && \
pgxman install pgsql-http=1.5.0@${POSTGRES_BASE_VERSION} --yes
4 changes: 1 addition & 3 deletions Dockerfile.spilo
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ ENV PGVERSION=${POSTGRES_BASE_VERSION} SPILO_PROVIDER=local PGUSER_SUPERUSER=pos
# Always force rebuild of this layer
ARG TIMESTAMP=1
COPY third-party/pgxman /tmp/pgxman/
RUN set -eux; \
/tmp/pgxman/install.sh /tmp/pgxman/pgxman_13.yaml /tmp/pgxman/pgxman_14_spilo.yaml; \
rm -rf /tmp/pgxman
RUN curl -sfL https://github.com/pgxman/release/releases/latest/download/install.sh | sh -s -- /tmp/pgxman/pgxman_13.yaml /tmp/pgxman/pgxman_14_spilo.yaml
55 changes: 0 additions & 55 deletions third-party/pgxman/install.sh

This file was deleted.

0 comments on commit 5670e4b

Please sign in to comment.