Merge pull request #356 from jnaulty/jnaulty/no-root-artifacts

Use current user at build container runtime
This commit is contained in:
Nicolas Stalder 2020-01-15 21:17:53 +01:00 committed by GitHub
commit 0d4197fb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,6 +103,7 @@ uncached-docker-build-toolchain:
docker-build-all:
docker run --rm -v "$(CURDIR)/builds:/builds" \
-v "$(CURDIR):/solo" \
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
$(DOCKER_TOOLCHAIN_IMAGE) "solo/in-docker-build.sh" ${SOLO_VERSION_FULL}
CPPCHECK_FLAGS=--quiet --error-exitcode=2