apache / apache/arrow

[CI][Dev] Revisit use of hadolint-docker

Open
#45,200 6 comments 0 reactions 0 assignees View on GitHub
Component: Continuous Integration Component: Developer Tools Status: stale-warning Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

Applying hadolint to Dockerfiles does not seem to improve our code quality. It however forces us to litter the Dockerfiles with comments to disable some rules, reducing their readability.

For example, hadolint is not able to expand variables, so every use of `FROM ${base}` gets flagged as [DL3006](https://github.com/hadolint/hadolint/wiki/DL3006).

### Component(s)

Continuous Integration, Developer Tools

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.