Skip to content

Commit d535b40

Browse files
Merge pull request #80 from max-ieremenko/update/postgres
update postgres version in tests
2 parents 099bd6f + 74bfb33 commit d535b40

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Build/scripts/Start-Pgsql.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Start-Pgsql {
55
$npgsqldll = Join-Path $PSScriptRoot 'Npgsql.dll'
66
Add-Type -Path $npgsqldll
77

8-
$container = Start-Container -Image sqldatabase/postgres:13.3 -ContainerPort 5432
8+
$container = Start-Container -Image sqldatabase/postgres:18.0 -ContainerPort 5432
99

1010
$builder = New-Object -TypeName Npgsql.NpgsqlConnectionStringBuilder
1111
$builder['Database'] = 'sqldatabasetest'

Build/tasks/create-images-tasks.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ task BuildMsSqlDatabase {
2525
}
2626

2727
task BuildPgSqlDatabase {
28-
$dockerfile = Join-Path $context 'image-postgres-133.dockerfile'
28+
$dockerfile = Join-Path $context 'image-postgres.dockerfile'
2929
exec {
3030
docker build `
3131
--pull `
3232
-f $dockerfile `
33-
-t sqldatabase/postgres:13.3 `
33+
-t sqldatabase/postgres:18.0 `
3434
$context
3535
}
3636
}

Sources/Docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
- 1433:1433
77

88
pgsql:
9-
image: sqldatabase/postgres:13.3
9+
image: sqldatabase/postgres:18.0
1010
restart: always
1111
ports:
1212
- 5432:5432

Sources/Docker/image-postgres-133.dockerfile renamed to Sources/Docker/image-postgres.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM postgres:13.3-alpine
1+
FROM postgres:18.0-alpine
22

33
ENV POSTGRES_PASSWORD=qwerty
44

0 commit comments

Comments
 (0)