-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Josua Vogel
committed
Apr 19, 2022
1 parent
90c5c4b
commit c4a2538
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
# Docker image for `TypoScript Lint` | ||
|
||
[![Docker hub](http://dockeri.co/image/brosua/typo3-typoscript-lint?&kill_cache=1)](https://hub.docker.com/r/brosua/typo3-typoscript-lint) | ||
|
||
Tiny Alpine-based multistage-build dockerized version of [TypoScript Lint](https://github.com/martin-helmich/typo3-typoscript-lint). The image is built with the latest PHP and Typoscript Lint version. | ||
|
||
## Usage | ||
### Command line | ||
```bash | ||
docker run --rm -it -v $(pwd):/data brosua/typo3-typoscript-lint . | ||
``` | ||
You can also add all options of typo3-typoscript-lint to your command: | ||
```bash | ||
docker run --rm -it -v $(pwd):/data brosua/typo3-typoscript-lint -c .build/testing/.typoscript-lint.yml | ||
``` | ||
### GitLab CI | ||
```yaml | ||
stages: | ||
- lint | ||
|
||
lint-typoscript: | ||
stage: lint | ||
image: | ||
name: brosua/typo3-typoscript-lint | ||
entrypoint: ["/bin/ash", "-c"] | ||
script: | ||
- typoscript-lint | ||
``` | ||
## License | ||
**[MIT License](LICENSE)** |