fix: split RUN for proper hadolint ignore placement

This commit is contained in:
2026-06-08 20:26:37 -04:00
committed by Sagent
parent 85c627fc7c
commit 318f4d538e
+4 -3
View File
@@ -7,9 +7,10 @@ ARG ANSIBLE_REVIEW_VERSION=0.13.9
# hadolint ignore=DL3018 # hadolint ignore=DL3018
RUN apk --no-cache add --virtual build-dependencies \ RUN apk --no-cache add --virtual build-dependencies \
build-base libffi-dev libressl-dev && \ build-base libffi-dev libressl-dev
# hadolint ignore=DL3013
pip install --no-cache-dir ansible-review==${ANSIBLE_REVIEW_VERSION} && \ # hadolint ignore=DL3013
RUN pip install --no-cache-dir ansible-review==${ANSIBLE_REVIEW_VERSION} && \
apk del build-dependencies apk del build-dependencies
LABEL maintainer="dockerimages@cabillot.eu" \ LABEL maintainer="dockerimages@cabillot.eu" \