Skip to content

Commit

Permalink
fix: pipefail not triggered when using sh
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Apr 6, 2024
1 parent d8470d8 commit 2b5b81d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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 && \
Expand Down

0 comments on commit 2b5b81d

Please sign in to comment.