From 6c9ce9bdb02485238d893e45a82c30cf003ca8fd Mon Sep 17 00:00:00 2001 From: Akos Eros Date: Mon, 21 Sep 2026 15:06:40 +0200 Subject: [PATCH] fix: Set home to /playwirght during playwright browser install step We need to install the browsers to this specific path to avoid shadow-mounting issues when running with pattern.sh --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index c09c4c3..a17e4b7 100644 --- a/Containerfile +++ b/Containerfile @@ -103,7 +103,7 @@ chown root:root /usr/local/bin/* && chmod 755 /usr/local/bin/* && \ rm -rf /root/anaconda* /root/original-ks.cfg /usr/local/README && \ pip install --no-cache-dir --no-compile -r /tmp/requirements.txt && \ ansible-galaxy collection install --collections-path /usr/share/ansible/collections -r /tmp/requirements.yml && \ -playwright install --only-shell chromium && \ +HOME=/playwright playwright install --only-shell chromium && \ # Create ansible-playbook wrapper that sets ANSIBLE_STDOUT_CALLBACK to rhvp.cluster_utils.readable when it's "null" \ mv /usr/local/bin/ansible-playbook /usr/local/bin/ansible-playbook.orig && \ mv /tmp/ansible-playbook-wrapper.sh /usr/local/bin/ansible-playbook && \