Skip to content

Commit 0874c2a

Browse files
committed
add build command to readme [skip ci]
1 parent 23accb3 commit 0874c2a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ docker exec <container name> sh restore.sh
4545
docker exec <container name> sh restore.sh <timestamp>
4646
```
4747

48+
# Development
49+
## Build the image locally
50+
`ALPINE_VERSION` determines Postgres version compatibility. See [`build-and-push-images.yml`](.github/workflows/build-and-push-images.yml) for the latest mapping.
51+
```sh
52+
cd postgres-backup-s3
53+
docker build --build-arg ALPINE_VERSION=3.14
54+
```
55+
4856
# Acknowledgements
4957
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).
5058

0 commit comments

Comments
 (0)