Skip to content

Commit

Permalink
build(deps): add separate commands for adding PostgreSQL repository
Browse files Browse the repository at this point in the history
  • Loading branch information
andrielfn committed Sep 21, 2024
1 parent 5a80338 commit f587365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-deb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f587365

Please sign in to comment.