Skip to content

Commit 38e07be

Browse files
Mateusz Czeladkaclaude
andcommitted
chore: upgrade PostgreSQL from 14.11 to 18.0
Update PostgreSQL version across all Docker configurations and builds. Changes: - Bump PG_VERSION_TAG from REL_14_11 to REL_18_0 in all env files - Add libicu-dev and pkg-config dependencies for PostgreSQL 18 build - Remove version directive from docker-compose-offline.yaml (deprecated) PostgreSQL 18 provides improved performance, security updates, and better support for modern database operations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e28d3e0 commit 38e07be

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.env.IntegrationTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ NETWORK=devkit
44
PROTOCOL_MAGIC=42
55

66
## Postgres image
7-
PG_VERSION_TAG=REL_14_11
7+
PG_VERSION_TAG=REL_18_0
88

99
## Yaci image
1010
YACI_VERSION=0.10.5

.env.docker-compose

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PROTOCOL_MAGIC=764824073
77
# mainnet 764824073, preprod 1, preview 2, devkit 42
88

99
## Postgres image
10-
PG_VERSION_TAG=REL_14_11
10+
PG_VERSION_TAG=REL_18_0
1111

1212
## Postgres variables
1313
DB_NAME=rosetta-java

.env.docker-compose-preprod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PROTOCOL_MAGIC=1
77
# mainnet 764824073, preprod 1, preview 2, devkit 42
88

99
## Postgres image
10-
PG_VERSION_TAG=REL_14_11
10+
PG_VERSION_TAG=REL_18_0
1111

1212
## Postgres variables
1313
DB_NAME=rosetta-java

docker-compose-offline.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3.8'
21
include:
32
- docker-compose-api.yaml
43

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ RUN apt update && apt install -y \
199199
&& update-locale LANG=en_US.UTF-8 \
200200
&& apt clean
201201

202-
ENV PG_VERSION_TAG=REL_14_11
202+
ENV PG_VERSION_TAG=REL_18_0
203203

204204
WORKDIR /usr/src
205205

docker/dockerfiles/postgres/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ RUN apt update && apt install -y \
1111
ca-certificates \
1212
sudo \
1313
locales \
14+
libicu-dev \
15+
pkg-config \
1416
&& sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
1517
&& locale-gen \
1618
&& update-locale LANG=en_US.UTF-8 \
1719
&& apt clean
1820

19-
ENV PG_VERSION_TAG=REL_14_11
21+
ENV PG_VERSION_TAG=REL_18_0
2022
ENV PG_DATA="/var/lib/postgresql/data"
2123
ENV PG_BIN="/usr/local/pgsql/bin"
2224
ENV PATH="$PG_BIN:$PATH"

0 commit comments

Comments
 (0)