From 480d960408ee9df542a6b13a5ad6aa5ed354c9e1 Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Tue, 17 Oct 2023 18:31:38 +0200 Subject: [PATCH] last fixes Signed-off-by: Martin Schurz --- arch-ansible-latest/Dockerfile | 2 +- openwrt-ansible-latest/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch-ansible-latest/Dockerfile b/arch-ansible-latest/Dockerfile index 9337450..09c8370 100644 --- a/arch-ansible-latest/Dockerfile +++ b/arch-ansible-latest/Dockerfile @@ -26,7 +26,7 @@ RUN pacman -S -y \ glibc \ python \ ansible \ - && yes | pacman -Scc || true + && pacman -Scc --noconfirm || true # Install Ansible inventory file. RUN mkdir /etc/ansible \ diff --git a/openwrt-ansible-latest/Dockerfile b/openwrt-ansible-latest/Dockerfile index 84d19b8..5b3e128 100644 --- a/openwrt-ansible-latest/Dockerfile +++ b/openwrt-ansible-latest/Dockerfile @@ -3,6 +3,7 @@ LABEL maintainer="Sebastian Gumprich" RUN mkdir -p /var/lock && \ opkg update && \ + set -o pipefail && \ if [[ $(opkg list-upgradable) ]]; then opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade; fi && \ opkg install python3 python3-pip python3-cryptography \ sudo bash sed shadow-su shadow-groupadd shadow-useradd shadow-usermod