You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Use 'x86_64' instead of 'amd64' for container testing.
This aligns with what is reported by 'uname -m' and required by Docker naming conventions. Also convert a 'aarch64' string to the VM_ARCH_AARCH64 constant.
This commit is contained in:
@ -384,8 +384,9 @@ sub containerBuild
|
||||
# Base image
|
||||
###########################################################################################################################
|
||||
my $strImageParent =
|
||||
(defined($strArch) ? "${strArch}/" : (vmArch($strOS) eq VM_ARCH_AMD64 ? '' : vmArch($strOS) . '/')) .
|
||||
(defined($strArch) ? "${strArch}/" : (vmArch($strOS) eq VM_ARCH_X86_64 ? '' : vmArch($strOS) . '/')) .
|
||||
"$$oVm{$strOS}{&VM_IMAGE}";
|
||||
$strArch = defined($strArch) ? $strArch : VM_ARCH_X86_64;
|
||||
my $strImage = "${strOS}-base" . (defined($strArch) ? "-${strArch}" : '-' . hostArch());
|
||||
my $strCopy = undef;
|
||||
|
||||
|
Reference in New Issue
Block a user