Sign inSign up

sgerrand/rpmlinter

By sgerrand

•Updated over 8 years ago

A RPM linter in Docker

Image
0

1.1K

sgerrand/rpmlinter repository overview

⁠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.

Tag summary

Content type

Image

Digest

Size

197.9 MB

Last updated

over 8 years ago

docker pull sgerrand/rpmlinter