From 65a7f3187deeca9df7825f718816eb58c4810429 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:58:56 +0100 Subject: [PATCH] Update Dockerfile --- linkwarden/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index 733a76e3d..67710cfe1 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -28,9 +28,13 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_SERVICES_GRACETIME=0 -# Install postgres ENV PGDATA=/config/postgres +# Adapt campaign RUN \ + # Change data directory + mv /data /data_linkwarden && \ + \ + # Install postgres apt-get update && apt-get install vim gnupg2 lsb-release sudo curl -y && \ curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc| gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg && \ sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \