Sign inSign up

pseiffert/phploc

By pseiffert

•Updated almost 11 years ago

Image
0

923

pseiffert/phploc repository overview

⁠PHPLoc Docker-Container

This repository holds the information required to build a Docker⁠ container that runs PHPLoc⁠.

⁠Limitations

Please note that you'll only be able to run phploc on directories below your current working directory since only the current working directory is being mounted as a Docker volume inside the container. (At least if you're using the alias as suggested below.)

⁠Usage

  1. Install the pseiffert/phploc container (optional - this step is performed by Docker automatically when running the container):

    $ docker pull pseiffert/phploc
    
  2. Define an bash alias that runs this container whenever phploc is invoked on the command line:

    $ echo "alias phploc='docker run --rm -it -v \$(pwd):/opt/workspace pseiffert/phploc'" >> ~/.bashrc
    $ source ~/.bashrc
    
  3. Run phploc as always:

    $ phploc src
    

Tag summary

Content type

Image

Digest

sha256:64a1a8988…

Size

128.4 MB

Last updated

almost 11 years ago

docker pull pseiffert/phploc