Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Build/scripts/Start-Pgsql.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Start-Pgsql {
$npgsqldll = Join-Path $PSScriptRoot 'Npgsql.dll'
Add-Type -Path $npgsqldll

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

$builder = New-Object -TypeName Npgsql.NpgsqlConnectionStringBuilder
$builder['Database'] = 'sqldatabasetest'
Expand Down
4 changes: 2 additions & 2 deletions Build/tasks/create-images-tasks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ task BuildMsSqlDatabase {
}

task BuildPgSqlDatabase {
$dockerfile = Join-Path $context 'image-postgres-133.dockerfile'
$dockerfile = Join-Path $context 'image-postgres.dockerfile'
exec {
docker build `
--pull `
-f $dockerfile `
-t sqldatabase/postgres:13.3 `
-t sqldatabase/postgres:18.0 `
$context
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
- 1433:1433

pgsql:
image: sqldatabase/postgres:13.3
image: sqldatabase/postgres:18.0
restart: always
ports:
- 5432:5432
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:13.3-alpine
FROM postgres:18.0-alpine

ENV POSTGRES_PASSWORD=qwerty

Expand Down