Always clean-build in Docker to avoid stale binary

The Docker build target now runs `make clean all` instead of bare
`make`, so it rebuilds regardless of an existing build/sdlamp2.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michael Smith 2026-02-13 14:44:14 +01:00
parent a0f95c7252
commit 4f6d1de8e2

View File

@ -18,7 +18,7 @@ shell:
endif
build: .build
docker run --platform linux/arm64 --rm -v "$(PROJECT_DIR)":/workspace $(IMAGE_NAME) make
docker run --platform linux/arm64 --rm -v "$(PROJECT_DIR)":/workspace $(IMAGE_NAME) make clean all
clean:
docker rmi $(IMAGE_NAME)