replicatedhq / dockerfilelint

An opinionated Dockerfile linter.
https://www.fromlatest.io
MIT License
979 stars 84 forks source link

Configuration file path enhancement #186

Closed llaville closed 2 years ago

llaville commented 2 years ago

Hello,

Current configuration file path behavior introduced in v1.1.2 (see https://github.com/replicatedhq/dockerfilelint/commit/b09bff92917adb77470605cd89bb43cc6627f8dd) only allow a directory for -c|--config option.

Is it possible to think to allow a full path name rather than just a folder.

i.e: dockerfilelint -c /path/to/my_config_rc_file Dockerfile

Rather than : dockerfilelint -c /path/to/.dockerfilelintrc Dockerfile (because filename .dockerfilelintrc is mandatory)

Thanks in advance

llaville commented 2 years ago

As nobody seems interrested by this feature request, I will close it !