From 0874c2abfb8fadccbdccb8b8de0a6db78ace84ab Mon Sep 17 00:00:00 2001 From: Elliott Shugerman Date: Sun, 3 Jul 2022 12:23:22 -0400 Subject: [PATCH] add build command to readme [skip ci] --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f7d1271..1bd0125 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,14 @@ docker exec sh restore.sh docker exec sh restore.sh ``` +# Development +## Build the image locally +`ALPINE_VERSION` determines Postgres version compatibility. See [`build-and-push-images.yml`](.github/workflows/build-and-push-images.yml) for the latest mapping. +```sh +cd postgres-backup-s3 +docker build --build-arg ALPINE_VERSION=3.14 +``` + # Acknowledgements This project is a fork and re-structuring of @schickling's [postgres-backup-s3](https://github.com/schickling/dockerfiles/tree/master/postgres-backup-s3) and [postgres-restore-s3](https://github.com/schickling/dockerfiles/tree/master/postgres-restore-s3).