Skip to content

Commit 8db7b72

Browse files
authored
Merge pull request #7 from nascyimento/fix/upgrade-pg-client-to-17
fix: upgrade postgresql-client from 15 to 17
2 parents 580d7e0 + db53dc0 commit 8db7b72

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

.ci/40-delivery/app.Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
FROM python:3.10-slim-bullseye@sha256:17de35f7050abebfd9bf15ec0efd94d2bda7b1a569337d99f2881d325042f952
22

3-
# First dependency block is for postgres 15 repository
4-
# Second block is for Psycopg2
5-
# Curl block is to download the key for the Postgres repository
6-
# Echo block is to add the repository to the sources list
7-
83
RUN apt update && \
94
apt install -y \
105
dirmngr ca-certificates software-properties-common apt-transport-https lsb-release curl \
@@ -14,7 +9,7 @@ RUN apt update && \
149
echo deb [arch=amd64,arm64,ppc64el signed-by=/usr/share/keyrings/postgresql.gpg] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main | \
1510
tee /etc/apt/sources.list.d/postgresql.list && \
1611
apt update && \
17-
apt install -y postgresql-client-15 && \
12+
apt install -y postgresql-client-17 && \
1813
groupadd --system -g 1001 themaker \
1914
&& useradd --system --create-home -g 1001 --no-user-group -u 1001 themaker
2015
WORKDIR /home/themaker

INSTALL_PG_DUMP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PostgreSQL Client Installation Guide
22

3-
This guide provides step-by-step instructions on how to install the PostgreSQL 15 client on your system using the official PostgreSQL APT repository. Follow these steps to ensure a successful installation.
3+
This guide provides step-by-step instructions on how to install the PostgreSQL 17 client on your system using the official PostgreSQL APT repository. Follow these steps to ensure a successful installation.
44

55
## Prerequisites
66

@@ -34,12 +34,12 @@ After adding the new repository, update your APT package index again to include
3434
sudo apt update
3535
```
3636

37-
### 4. Install PostgreSQL 15 Client
37+
### 4. Install PostgreSQL 17 Client
3838

39-
Now, install the PostgreSQL 15 client package:
39+
Now, install the PostgreSQL 17 client package:
4040

4141
```shell
42-
sudo apt install postgresql-client-15
42+
sudo apt install postgresql-client-17
4343
```
4444

4545
### 5. Verify the Installation

0 commit comments

Comments
 (0)