A standalone docker image for drupal-check.
First change directory into a drupal project. Then run:
docker run --rm -ti -v $(pwd):/app modea/drupal-check drupal-check path/to/custom/modules
Create an alias to make running drupal-check more seamless.
alias drupal-check='docker run --rm -ti -v $(pwd):/app modea/drupal-check drupal-check'
Now run drupal-check using the alias:
drupal-check path/to/custom/modules
docker pull modea/drupal-check
Requirements: Must have a user account on Docker Hub with write permission on modea/drupal-check.
Build local image
docker build -t modea/drupal-check .
Build and publish multi-arch image to Docker Hub
docker buildx build --platform linux/amd64,linux/arm64 --push -t modea/drupal-check
Build and publish tagged multi-arch image to Docker HUb
docker buildx build --platform linux/amd64,linux/arm64 --push -t modea/drupal-check:1.3.2 .