Skip to content

Commit

Permalink
Merge pull request #150 from HSLdevcom/AB#25225_update_pg_dump_version
Browse files Browse the repository at this point in the history
AB#25225: Update docker image pg_dump version number
  • Loading branch information
e-halinen authored Jan 30, 2024
2 parents 34abb63 + 91fe888 commit aead058
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM node:18-buster-slim

ENV IMPORTER_DIR /opt/jore
ENV PG_CONNECTION_STRING="postgres://postgres:password@postgres:5432/postgres"
ENV NODE_ENV production

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq postgresql-client --no-install-recommends \
&& apt-get install -yq curl gnupg lsb-release \
&& curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg \
&& echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |tee /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq postgresql-client-14 --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

WORKDIR ${IMPORTER_DIR}
Expand Down

0 comments on commit aead058

Please sign in to comment.