f776e050d7
as they are not actually best practices. Change-Id: I82a39152e7cf2936d05266b92f875e674cea8aae
16 lines
475 B
YAML
16 lines
475 B
YAML
- name: Lint Dockerfile with Hadolint
|
|
# NOTE(rpiliszek): We are excluding rules that force version pinning in distribution package managers.
|
|
# These rules actually do *not* follow the best practices of Dockerfile writing.
|
|
ansible.builtin.command: >-
|
|
hadolint
|
|
--ignore DL3008
|
|
--ignore DL3018
|
|
--ignore DL3033
|
|
--ignore DL3037
|
|
--ignore DL3041
|
|
{{ item }}
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
changed_when: false
|
|
loop: "{{ dockerfiles }}"
|