From ef54bd18d3774aa4ccef60efce77de1eec776d8a Mon Sep 17 00:00:00 2001 From: Pau Rodriguez-Estivill Date: Sun, 7 Mar 2021 14:40:06 +0100 Subject: [PATCH] Add architectures s390x and ppc64le #44 --- BUILD.md | 2 +- README.md | 2 +- docker-bake.hcl | 4 ++-- generate.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BUILD.md b/BUILD.md index 5a162b9..3db0621 100644 --- a/BUILD.md +++ b/BUILD.md @@ -14,7 +14,7 @@ In order to work in Arch Linux the following initialization commands will be req ```sh docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx rm multibuilder -docker buildx create --name multibuilder --platform linux/amd64,linux/arm64,linux/arm/v7 --driver docker-container --use +docker buildx create --name multibuilder --platform linux/amd64,linux/arm64,linux/arm/v7,linux/s390x,linux/ppc64le --driver docker-container --use docker buildx inspect --bootstrap ``` diff --git a/README.md b/README.md index d53d0be..ad4f501 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Backup PostgresSQL to the local filesystem with periodic rotating backups, based on [schickling/postgres-backup-s3](https://hub.docker.com/r/schickling/postgres-backup-s3/). Backup multiple databases from the same host by setting the database names in `POSTGRES_DB` separated by commas or spaces. -Supports the following Docker architectures: `linux/amd64`, `linux/arm64`, `linux/arm/v7`. +Supports the following Docker architectures: `linux/amd64`, `linux/arm64`, `linux/arm/v7`, `linux/s390x`, `linux/ppc64le`. ## Usage diff --git a/docker-bake.hcl b/docker-bake.hcl index c6e99a1..0a76347 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -7,8 +7,8 @@ variable "BUILDREV" { } target "common" { - platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7"] - args = {"GOCRONVER" = "v0.0.9"} + platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"] + args = {"GOCRONVER" = "v0.0.10"} } target "debian" { diff --git a/generate.sh b/generate.sh index df2bfa0..23dcf89 100755 --- a/generate.sh +++ b/generate.sh @@ -4,8 +4,8 @@ set -e DOCKER_BAKE_FILE=${1:-"docker-bake.hcl"} TAGS=${TAGS:-"13 12 11 10 9.6 9.5"} -GOCRONVER=${GOCRONVER:-"v0.0.9"} -PLATFORMS=${PLATFORMS:-"linux/amd64 linux/arm64 linux/arm/v7"} +GOCRONVER=${GOCRONVER:-"v0.0.10"} +PLATFORMS=${PLATFORMS:-"linux/amd64 linux/arm64 linux/arm/v7 linux/s390x linux/ppc64le"} IMAGE_NAME=${IMAGE_NAME:-"prodrigestivill/postgres-backup-local"} cd "$(dirname "$0")"