mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-05-31 08:37:58 +00:00
Add architectures s390x and ppc64le #44
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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" {
|
||||
|
||||
+2
-2
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user