https://github.com/sgerrand/docker-rpmlinter
RPM linter in Docker
https://github.com/sgerrand/docker-rpmlinter
docker linter rpm
Last synced: 3 months ago
JSON representation
RPM linter in Docker
- Host: GitHub
- URL: https://github.com/sgerrand/docker-rpmlinter
- Owner: sgerrand
- Created: 2016-08-16T17:45:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-27T09:43:24.000Z (about 8 years ago)
- Last Synced: 2024-12-29T15:45:00.699Z (5 months ago)
- Topics: docker, linter, rpm
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPM Linter
This is a Docker image for linting RPM packages.
## Usage
The linter is typically run from your RPM spec source directory:
docker run -v "$PWD:/specs" sgerrand/rpmlinter
This would lint all the spec files in the current directory. You can run the
builder anywhere - you just need to mount your specs directory to `/specs`, but
this mount point can be changed using the `SPECSDIR` environment variable.## Environment
There is currently one environment variable which can be changed at run time:
* `SPECSDIR`: Defaults to `/specs`. This specifies the mount point for your
specs directory. If overridden, this mount point must exist for the linter
script to work.