fix: split RUN for proper hadolint ignore placement
This commit is contained in:
+4
-3
@@ -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" \
|
||||||
|
|||||||
Reference in New Issue
Block a user