Sign inSign up

bestit/qa-phploc

By bestit

•Updated about 2 years ago

Image packaging PHP Loc based on https://github.com/sebastianbergmann/phploc

Image
Integration & delivery
Developer tools
0

183

bestit/qa-phploc repository overview

⁠bestit/qa-phploc

PHP Loc based on https://github.com/sebastianbergmann/phploc⁠

⁠Usage

docker run -v $PWD:/workdir --workdir /workdir  --rm -it bestit/qa-phploc:7.0.2

# Run with increased memory limit
docker run --entrypoint="" -v $PWD:/workdir --workdir /workdir  --rm -it bestit/qa-phploc:7.0.2 php -d memory_limit=2G /usr/local/bin/phploc ./src

⁠Releasing new versions

The build is using a docker multi stage build. To release a new version the following steps are required:

  1. Update tool_version in Dockerfile (amd64) and Dockerfile.arm64v8 (arm64v8)
  2. Update versions in multi-arch-manifest.yaml for both platforms.
  3. Update CHANGLOG.md accordingly.
  4. Push new tag, dockerhub will start the build automatically.

⁠Local Testing

To test the Dockerfiles locally you can execute this command to build the image on amd64 and arm64 architectures:

docker buildx build --force-rm --no-cache -t qa-phploc --platform linux/arm64,linux/amd64 . && docker run -it qa-phploc

Tag summary

Content type

Image

Digest

sha256:507068961…

Size

34.2 MB

Last updated

about 2 years ago

docker pull bestit/qa-phploc:7.0.2