mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-26 16:42:19 +00:00
11 lines
256 B
Makefile
11 lines
256 B
Makefile
define DOCKERFILE_FORMAT
|
|
FROM $(BASE_IMAGE)
|
|
RUN go install mvdan.cc/gofumpt@v0.3.1
|
|
endef
|
|
export DOCKERFILE_FORMAT
|
|
|
|
format:
|
|
echo "$$DOCKERFILE_FORMAT" | docker build -q . -f - -t temp
|
|
docker run --rm -it -v $(PWD):/s -w /s temp \
|
|
sh -c "gofumpt -l -w ."
|