Tiny Alpine-based multistage-build dockerized version of TypoScript Lint. The image is built with the latest PHP and Typoscript Lint version.
docker run --rm -it -v $(pwd):/data brosua/typo3-typoscript-lint .
You can also add all options of typo3-typoscript-lint to your command:
docker run --rm -it -v $(pwd):/data brosua/typo3-typoscript-lint -c .build/testing/.typoscript-lint.yml
stages:
- lint
lint-typoscript:
stage: lint
image:
name: brosua/typo3-typoscript-lint
entrypoint: ["/bin/ash", "-c"]
script:
- typoscript-lint