Skip to content

Commit

Permalink
docker: not interactive
Browse files Browse the repository at this point in the history
For CI runs, we do not need interactive docker containers.

Signed-off-by: Norbert Manthey <[email protected]>
  • Loading branch information
nmanthey authored and wipawel committed Nov 25, 2020
1 parent 04845d6 commit 9ab8818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ dockerimage:
.PHONY: docker%
docker%: dockerimage
@echo "running target '$(strip $(subst :,, $*))' in docker"
$(VERBOSE) docker run -it -e UNITTEST=$(UNITTEST) -v $(PWD):$(PWD)$(DOCKER_MOUNT_OPTS) -w $(PWD) $(DOCKERIMAGE) bash -c "make -j $(strip $(subst :,, $*))"
$(VERBOSE) docker run -t -e UNITTEST=$(UNITTEST) -v $(PWD):$(PWD)$(DOCKER_MOUNT_OPTS) -w $(PWD) $(DOCKERIMAGE) bash -c "make -j $(strip $(subst :,, $*))"

.PHONY: onelinescan
onelinescan:
@echo "scanning current working directory with one-line-scan"
$(VERBOSE) docker run -it -e BASE_COMMIT=origin/mainline \
$(VERBOSE) docker run -t -e BASE_COMMIT=origin/mainline \
-e REPORT_NEW_ONLY=true -e OVERRIDE_ANALYSIS_ERROR=true \
-e INFER_ANALYSIS_EXTRA_ARGS="--bufferoverrun" \
-e CPPCHECK_EXTRA_ARG=" --enable=style --enable=performance --enable=information --enable=portability" \
Expand Down

0 comments on commit 9ab8818

Please sign in to comment.