PHP Psalm Container.
https://psalm.dev/
- Dockerfile 100%
| conf | ||
| Containerfile | ||
| readme.md | ||
Psalm container image
Container image containing php and the static analysis tool psalm.
Intended image contents
- php
- psalm
Run
podman container run \
--rm \
--interactive --tty \
--volume=.:/src \
code.netztechniker.at/ludwig/psalm:latest \
--config /path/to/psalm-config.xml
# or the short variant
podman run --rm -it -v .:/src code.netztechniker.at/ludwig/psalm -c /path/to/psalm-config.xml
Build
PHP_VERSION=x.y \
PSALM_VERSION=x.y.z \
podman image build . \
--build-arg PHP_VERSION=$PHP_VERSION \
--build-arg PSALM_VERSION=$PSALM_VERSION \
--tag code.netztechniker.at/ludwig/psalm:$PSALM_VERSION-php$PHP_VERSION