summaryrefslogtreecommitdiffstats
path: root/molecule
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-12 00:58:11 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-12 01:39:26 +0100
commit1a6057a2f6ff631ec67f24105a03b895e2b389fd (patch)
treeff373ec6ce00220cd5b2ae09bda91c92ff2d8f81 /molecule
parenta0a0c4d298336d6a3d569862247f291447c0ddcb (diff)
Workaround the ssl failures locally on testing
Co-Authored-By: Claude.ai
Diffstat (limited to 'molecule')
-rw-r--r--molecule/archlinux/Dockerfile.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/molecule/archlinux/Dockerfile.j2 b/molecule/archlinux/Dockerfile.j2
index 1d1244bd..9e25e4f3 100644
--- a/molecule/archlinux/Dockerfile.j2
+++ b/molecule/archlinux/Dockerfile.j2
@@ -9,6 +9,9 @@ RUN pacman -Syu --noconfirm --needed python3 systemd udev dbus \
# https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/59
RUN cp -r /usr/share/i18n/locales/en_US /usr/share/i18n/locales/de_DE;
+# Workaround getting failed ssl issues randomly in local testing
+RUN sed -i '/^\[options\]/a XferCommand = /usr/bin/curl --retry 5 --retry-delay 2 -L -C - -f -o %o %u' /etc/pacman.conf
+
VOLUME ["/sys/fs/cgroup"]
CMD ["/lib/systemd/systemd"]