From 9dd9f425b7cbef3986facb965dc1866e8cb59175 Mon Sep 17 00:00:00 2001 From: Radosław Piliszek Date: Sun, 11 Sep 2022 12:46:28 +0000 Subject: Don't ignore the remaining apt-get update errors Follow-up to I5ce2eb66a647e1805f086aa37942bf5d13eb4106 So far, I have only observed these causing weird errors later but, in theory, ignoring these could allow the rest of the code to use archival (so wrong) entries. Change-Id: I9cef5ceeb78d431ca232c7b196c48eef5d2ccbca --- docker/bifrost/bifrost-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/bifrost') diff --git a/docker/bifrost/bifrost-base/Dockerfile.j2 b/docker/bifrost/bifrost-base/Dockerfile.j2 index 7c4fed946..2aa536cca 100644 --- a/docker/bifrost/bifrost-base/Dockerfile.j2 +++ b/docker/bifrost/bifrost-base/Dockerfile.j2 @@ -36,7 +36,7 @@ ENV ANSIBLE_GATHER_TIMEOUT=30 {% block bifrost_ansible_install %} {%- if base_package_type == 'deb' %} -RUN apt-get update && \ +RUN apt-get --error-on=any update && \ {%- else %} RUN echo " " && \ {%- endif %} -- cgit v1.2.3