Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Autodetect if we talk to docker via tcp in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwilkie authored and awh committed May 4, 2016
1 parent 5fb6df5 commit 0314a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PUBLISH=publish_weave publish_weaveexec publish_plugin
.PHONY: all exes testrunner update tests lint publish $(PUBLISH) clean clean-bin prerequisites build run-smoketests

# If you can use docker without being root, you can do "make SUDO="
SUDO=sudo -E
SUDO=$(shell docker info >/dev/null 2>&1 || echo "sudo -E")
BUILD_IN_CONTAINER=true
RM=--rm
RUN_FLAGS=-ti
Expand Down

0 comments on commit 0314a86

Please sign in to comment.