From 5c2393d104f1be3cabdf3143e068491c50814ee6 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@hebeler.club> Date: Fri, 14 Apr 2023 12:30:34 +0200 Subject: [PATCH] install correct postgresql version --- build/pass/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/pass/Dockerfile b/build/pass/Dockerfile index c2b243b..17bb3ef 100644 --- a/build/pass/Dockerfile +++ b/build/pass/Dockerfile @@ -3,7 +3,9 @@ FROM node:19-bullseye as development ENV NODE_ENV development ENV DEBIAN_FRONTEND=noninteractive -RUN apt update && apt install -y borgbackup postgresql-client && rm -rf /var/lib/apt/lists/* +RUN echo "deb http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \ + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - +RUN apt update && apt install -y borgbackup postgresql-client-15 && rm -rf /var/lib/apt/lists/* ENV DEBIAN_FRONTEND= RUN npm i -g accent-cli knex nodemon -- GitLab