🎨 Add test-integration-docker target

This commit is contained in:
mudler 2022-06-05 23:47:23 +02:00 committed by Ettore Di Giacinto
parent 2b3a1555f0
commit 49d8c2b972
No known key found for this signature in database
GPG Key ID: 965A712536341999

View File

@ -81,6 +81,12 @@ test-docker:
--workdir /go/src/github.com/mudler/luet -ti golang:latest \
bash -c "make test"
.PHONY: test-integration-docker
test-integration-docker:
docker run -v $(ROOT_DIR):/go/src/github.com/mudler/luet -v /var/run/docker.sock:/var/run/docker.sock \
--workdir /go/src/github.com/mudler/luet -ti golang:latest \
bash -c "apt-get update && apt-get install docker.io && make test-integration"
multiarch-build:
goreleaser build --snapshot --rm-dist