Sign inSign up

bestit/qa-phprector

By bestit

•Updated about 2 years ago

PHP Rector / PHP Shopware Rector

Image
Integration & delivery
Developer tools
0

219

bestit/qa-phprector repository overview

⁠bestit/qa-phprector

PHP Rector Image based on https://github.com/rectorphp/rector⁠

Also packages Shopware Rector: https://github.com/FriendsOfShopware/shopware-rector⁠

⁠Usage

docker run -v $PWD:/workdir --workdir /workdir  --rm -it bestit/qa-phprector:1.2

⁠Releasing new versions

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

  1. Update rector_version and shopware_rector_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-phprector --platform linux/arm64,linux/amd64 . && docker run -it qa-phprector

Tag summary

Content type

Image

Digest

sha256:ceda6bba6…

Size

39.3 MB

Last updated

about 2 years ago

docker pull bestit/qa-phprector:1.2