Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

FIXES #201 Sail browser extension docker not found error on MacOS#264

Merged
deansheather merged 3 commits intocoder:masterfrom
dougnukem:doug/chrome-extension/201
Mar 17, 2020
Merged

FIXES #201 Sail browser extension docker not found error on MacOS#264
deansheather merged 3 commits intocoder:masterfrom
dougnukem:doug/chrome-extension/201

Conversation

@dougnukem
Copy link
Copy Markdown
Contributor

@dougnukem dougnukem commented Mar 10, 2020

FIXES #201 chrome extension: failed to run docker info

On MacOS when Chrome is launched from Finder (as opposed to from terminal/shell session) the $PATH environment variable does not contain /usr/local/bin which is the common location for docker to be installed.

This PR adds in /usr/local/bin to be included in the PATH env variable on MacOS darwin.

See similar issues with other browser extensions that rely on Go to execute commands on the user's path:

browserpass/browserpass-legacy#13
browserpass/browserpass-legacy#159

@dougnukem
Copy link
Copy Markdown
Contributor Author

/cc @deansheather

Comment thread globalflags.go Outdated
Comment thread globalflags.go
dougnukem and others added 2 commits March 17, 2020 12:36
Co-Authored-By: Dean Sheather <dean@deansheather.com>
Co-Authored-By: Dean Sheather <dean@deansheather.com>
@dougnukem
Copy link
Copy Markdown
Contributor Author

@deansheather accepted PR suggestions

@dougnukem dougnukem requested a review from deansheather March 17, 2020 17:46
@deansheather deansheather merged commit 4ac2968 into coder:master Mar 17, 2020
@dougnukem dougnukem deleted the doug/chrome-extension/201 branch March 17, 2020 22:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chrome extension: failed to run docker info

2 participants