Skip to content
Open
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
[Ubuntu] Add PostgreSQL to arm64 images
x64 images already have PostgreSQL installed. Since `psql` is such a
popular tool among developers, and GitHub now maintains arm64 images, it
makes sense to install it on arm64 images as well.
  • Loading branch information
enescakir committed Jun 15, 2026
commit d18349ac25e8110464ddd0bec39ee6d1707d5c67
4 changes: 1 addition & 3 deletions images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ $netCoreTools.AddNodes($(Get-DotnetTools))
# Databases
$databasesTools = $installedSoftware.AddHeader("Databases")
$databasesTools.AddToolVersion("sqlite3", $(Get-SqliteVersion))
if (Test-IsX64) {
$databasesTools.AddNode($(Build-PostgreSqlSection))
}
$databasesTools.AddNode($(Build-PostgreSqlSection))
$databasesTools.AddNode($(Build-MySQLSection))
if (Test-IsUbuntu22-X64) {
$databasesTools.AddNode($(Build-MSSQLToolsSection))
Comment on lines 259 to 265
Expand Down
2 changes: 1 addition & 1 deletion images/ubuntu/scripts/tests/Databases.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe "PostgreSQL" -Skip:(Test-IsArm64) {
Describe "PostgreSQL" {
It "PostgreSQL Service" {
"sudo systemctl start postgresql" | Should -ReturnZeroExitCode
"pg_isready" | Should -OutputTextMatchingRegex "/var/run/postgresql:5432 - accepting connections"
Comment on lines +1 to 4
Expand Down
1 change: 1 addition & 0 deletions images/ubuntu/templates/build.ubuntu-22_04-arm64.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ build {
"${path.root}/../scripts/build/install-nodejs.sh",
"${path.root}/../scripts/build/install-bazel.sh",
"${path.root}/../scripts/build/install-php.sh",
"${path.root}/../scripts/build/install-postgresql.sh",
"${path.root}/../scripts/build/install-pulumi.sh",
"${path.root}/../scripts/build/install-ruby.sh",
"${path.root}/../scripts/build/install-rust.sh",
Expand Down
1 change: 1 addition & 0 deletions images/ubuntu/templates/build.ubuntu-24_04-arm64.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ provisioner "shell" {
"${path.root}/../scripts/build/install-nodejs.sh",
"${path.root}/../scripts/build/install-bazel.sh",
"${path.root}/../scripts/build/install-php.sh",
"${path.root}/../scripts/build/install-postgresql.sh",
"${path.root}/../scripts/build/install-pulumi.sh",
"${path.root}/../scripts/build/install-ruby.sh",
"${path.root}/../scripts/build/install-rust.sh",
Expand Down
1 change: 1 addition & 0 deletions images/ubuntu/templates/build.ubuntu-26_04-arm64.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ provisioner "shell" {
"${path.root}/../scripts/build/install-nodejs.sh",
"${path.root}/../scripts/build/install-bazel.sh",
"${path.root}/../scripts/build/install-php.sh",
"${path.root}/../scripts/build/install-postgresql.sh",
"${path.root}/../scripts/build/install-ruby.sh",
"${path.root}/../scripts/build/install-rust.sh",
"${path.root}/../scripts/build/install-selenium.sh",
Expand Down