Skip to content

Commit

Permalink
Add pg_client postgres 15
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Nov 20, 2023
1 parent cef3108 commit ac8ae8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ ENV APP_USER=app
ENV APP_PATH=/app
ENV APP_DATA_PATH=/var/openproject/assets
ENV PGVERSION="13"
ENV CURRENT_PGVERSION="13"
ENV NEXT_PGVERSION="15"
ENV PGBIN="/usr/lib/postgresql/$PGVERSION/bin"
ENV BUNDLE_WITHOUT="development:test"

Expand Down Expand Up @@ -101,11 +103,12 @@ RUN --mount=type=cache,target=/var/cache/apt \
curl \
gnupg2 \
&& curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' $PGVERSION > /etc/apt/sources.list.d/pgdg.list \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& apt-get update -qq \
&& apt-get install -yq --no-install-recommends \
libpq5 \
postgresql-client-$PGVERSION \
postgresql-client-$CURRENT_PGVERSION \
postgresql-client-$NEXT_PGVERSION \
libffi7 \
unrtf tesseract-ocr poppler-utils catdoc imagemagick \
&& apt-get purge -y curl gnupg2 \
Expand Down

0 comments on commit ac8ae8f

Please sign in to comment.