From 2b5b81d5edbde5adc499d2413c3e23b33310f788 Mon Sep 17 00:00:00 2001 From: m2Giles <69128853+m2Giles@users.noreply.github.com> Date: Sat, 6 Apr 2024 17:28:08 -0400 Subject: [PATCH] fix: pipefail not triggered when using sh --- Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index d00cd7337fc..c2970ae7077 100644 --- a/Containerfile +++ b/Containerfile @@ -31,7 +31,7 @@ COPY --from=ghcr.io/ublue-os/bluefin-cli /usr/share/bash-prexec /usr/share/bash- COPY --from=ghcr.io/ublue-os/akmods:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms # Build, cleanup, commit. -RUN . /tmp/build/build.sh && \ +RUN bash -c ". /tmp/build/build.sh" && \ rm -rf /tmp/* /var/* && \ mkdir -p /var/tmp && \ chmod -R 1777 /var/tmp && \ @@ -51,8 +51,8 @@ COPY build_files/dx build_files/shared /tmp/build/ COPY system_files/dx / COPY packages.json /tmp/packages.json -# Handle packages via packages.json -RUN . /tmp/build/build-dx.sh && \ +# Build, Clean-up, Commit +RUN bash -c ". /tmp/build/build-dx.sh" && \ fc-cache --system-only --really-force --verbose && \ rm -rf /tmp/* /var/* && \ mkdir -p /var/tmp && \