We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098a4f0 commit 3242eeeCopy full SHA for 3242eee
aws-cli/Dockerfile
@@ -12,9 +12,16 @@ RUN yum update -y \
12
&& yum clean all \
13
&& rm -rf /var/cache/yum
14
15
+SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
16
+
17
# @TL FIXME: --break-system-packages not supported until Python 3.11
-# hadolint ignore=DL3013
-RUN pip3 install --no-cache-dir --upgrade cfn-policy-validator
18
+RUN pip3 install --no-cache-dir --upgrade \
19
+ cfn-policy-validator==0.0.35 \
20
+ && msg="$(pip list --outdated | grep -i -e cfn-policy-validator || true)" \
21
+ && if [ -n "${msg}" ]; then \
22
+ >&2 echo "ERROR: outdated: ${msg}" ; \
23
+ exit 1 ; \
24
+ fi
25
26
RUN mkdir -p /opt \
27
&& chmod 777 /opt \
0 commit comments