Fix docker-local make target

With the adaptation to Debian Bullseye/Bookworm based images, the
docker-local make target got broken with below error.

```
rrs@lenovo:~/photoprism-repo (rickysarraf-develop)$ make docker-local
scripts/docker/build.sh photoprism
Usage: build.sh [name] [tag] [/subimage]
make: *** [Makefile:338: docker-local] Error 1
```

This PR fixes it by introducing the 2 new local targets for Bullseye and
Bookworm. And it also aliases the docker-local target to the latest,
which right now is Bookworm

Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
This commit is contained in:
Ritesh Raj Sarraf 2022-03-28 14:28:38 +05:30
parent 736b03f87f
commit 9685b24648

View file

@ -334,8 +334,13 @@ docker-release-impish:
docker pull --platform=amd64 ubuntu:impish docker pull --platform=amd64 ubuntu:impish
docker pull --platform=arm64 ubuntu:impish docker pull --platform=arm64 ubuntu:impish
scripts/docker/buildx-multi.sh photoprism linux/amd64,linux/arm64 impish /impish scripts/docker/buildx-multi.sh photoprism linux/amd64,linux/arm64 impish /impish
docker-local: docker-local: docker-local-bookworm
scripts/docker/build.sh photoprism docker-local-bullseye:
docker pull photoprism/develop:bullseye
scripts/docker/build.sh photoprism bullseye /bullseye
docker-local-bookworm:
docker pull photoprism/develop:bookworm
scripts/docker/build.sh photoprism bookworm /bookworm
docker-pull: docker-pull:
docker pull photoprism/photoprism:preview photoprism/photoprism:latest docker pull photoprism/photoprism:preview photoprism/photoprism:latest
docker-ddns: docker-ddns: