Skip to content

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

Closed

Description

@HenkPoley

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)

Activity

  1. zdenekdrahos commented on Feb 24, 2020

    @zdenekdrahos
    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)

  2. HenkPoley commented on Feb 27, 2020

    @HenkPoley
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions