Added branch switching for SPS docker build.

This commit is contained in:
Charles
2021-05-20 12:42:58 +01:00
parent aa8fcbe7c8
commit b0b6500a37
3 changed files with 19 additions and 8 deletions
+10 -1
View File
@@ -1,3 +1,12 @@
# Shairport Sync Docker Image
https://hub.docker.com/r/mikebrady/shairport-sync
Available at: https://hub.docker.com/r/mikebrady/shairport-sync
## Build Example (for arm7 devices)
TODO: remove `--ssh` when going public as this is only for private repos.
```
docker buildx build --ssh github=$SSH_AUTH_SOCK --platform linux/arm/v7 -f ./docker/Dockerfile --build-arg SHAIRPORT_SYNC_BRANCH=development -t registry.nova.do/shairport-sync:unstable-development .
```
`SHAIRPORT_SYNC_BRANCH` is required to ensure the image is built using the expected branch.