mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-30 15:02:00 -08:00
* fix: improve unsafe path handling Paths containing spaces or dashes were being interpreted as separate options, since the path handling lacked double quotes. This fixes all unsafe instances of "PWD" and "HOME", along with all other unsafe paths in the scripts. * readme: explicitly mount the configuration as read-only This clearly shows users that the MediaMTX container will not modify the configuration file.
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
DOCKER_REPOSITORY_LEGACY = aler9/rtsp-simple-server
|
|
|
|
dockerhub-legacy:
|
|
$(eval VERSION := $(shell git describe --tags | tr -d v))
|
|
|
|
docker login -u $(DOCKER_USER_LEGACY) -p $(DOCKER_PASSWORD_LEGACY)
|
|
|
|
docker run --rm \
|
|
-v "$(HOME)/.docker:/.docker:ro" \
|
|
quay.io/skopeo/stable:latest copy --all \
|
|
--authfile /.docker/config.json \
|
|
docker://docker.io/$(DOCKER_REPOSITORY):$(VERSION)-rpi \
|
|
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):v$(VERSION)-rpi
|
|
|
|
docker run --rm \
|
|
-v "$(HOME)/.docker:/.docker:ro" \
|
|
quay.io/skopeo/stable:latest copy --all \
|
|
--authfile /.docker/config.json \
|
|
docker://docker.io/$(DOCKER_REPOSITORY):latest-rpi \
|
|
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):latest-rpi
|
|
|
|
docker run --rm \
|
|
-v "$(HOME)/.docker:/.docker:ro" \
|
|
quay.io/skopeo/stable:latest copy --all \
|
|
--authfile /.docker/config.json \
|
|
docker://docker.io/$(DOCKER_REPOSITORY):$(VERSION) \
|
|
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):v$(VERSION)
|
|
|
|
docker run --rm \
|
|
-v "$(HOME)/.docker:/.docker:ro" \
|
|
quay.io/skopeo/stable:latest copy --all \
|
|
--authfile /.docker/config.json \
|
|
docker://docker.io/$(DOCKER_REPOSITORY):latest \
|
|
docker://docker.io/$(DOCKER_REPOSITORY_LEGACY):latest
|