Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the docker image on a developer machine? #199

Closed
HenkPoley opened this issue Feb 24, 2020 · 2 comments
Closed

How to use the docker image on a developer machine? #199

HenkPoley opened this issue Feb 24, 2020 · 2 comments

Comments

@HenkPoley
Copy link

HenkPoley commented Feb 24, 2020

By default on Docker for Windows, any of the commands don't seem to mount the local source directory where you start the command.

Maybe add a few lines to say how to use the docker image to scan your local source files?

(Edit: I also notice that the included psalm v1.1.9 is 1.5 years old)

@zdenekdrahos
Copy link
Member

1) Mount the local source directory

You might need to use different environment variable. -v $PWD:/app probably does not work for Windows.

-v $PWD : Passes docker the existing working directory for analyzing
https://hub.docker.com/r/eko3alpha/docker-phpqa/

2) Tools in docker image

Please see #159 (comment) and #168 (comment)

@HenkPoley
Copy link
Author

Thanks for the reply. I'd still vote for including some of this in the readme 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants