Image packaging PHP Loc based on https://github.com/sebastianbergmann/phploc
172
PHP Loc based on https://github.com/sebastianbergmann/phploc
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
The build is using a docker multi stage build. To release a new version the following steps are required:
tool_version in Dockerfile (amd64) and Dockerfile.arm64v8 (arm64v8)multi-arch-manifest.yaml for both platforms.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
Content type
Image
Digest
sha256:507068961…
Size
34.2 MB
Last updated
almost 2 years ago
docker pull bestit/qa-phploc:7.0.2