Created
April 15, 2019 15:14
-
-
Save cicorias/8f0ff9794d47cfeaa072a9ae0623b66f to your computer and use it in GitHub Desktop.
running iotedgedev as "non" sudo - but dam tool requires sudo...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#key thing is passing user env to suod via 'sudo env "PATH=$PATH" command' | |
docker build --rm -f "/home/cicorias/dev/tiem-app/EdgeSolution/modules/telemetry/Dockerfile.amd64" -t localhost:5000/telemetry:1.0.1-amd64 "/home/cicorias/dev/tiem-app/EdgeSolution/modules/telemetry" && sudo env "PATH=$PATH" iotedgehubdev start -d "/home/cicorias/dev/tiem-app/EdgeSolution/config/deployment.debug.amd64.json" -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment