From f58736540c091a7428cd5363fbe2088afe783b86 Mon Sep 17 00:00:00 2001 From: Andriel Nuernberg <andrielfn@gmail.com> Date: Sat, 21 Sep 2024 15:58:27 -0300 Subject: [PATCH] build(deps): add separate commands for adding PostgreSQL repository --- .github/actions/build-deb/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-deb/Dockerfile b/.github/actions/build-deb/Dockerfile index 0362b46..9fdfa9e 100644 --- a/.github/actions/build-deb/Dockerfile +++ b/.github/actions/build-deb/Dockerfile @@ -10,8 +10,8 @@ RUN apt-get update && apt-get install -y \ gnupg # Add PostgreSQL repository -RUN sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && - curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg +RUN sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' +RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg # Update and install PostgreSQL 16 RUN apt-get update && apt-get install -y postgresql-server-dev-16