Skip to content

Commit

Permalink
move pipefail to individual command
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonfleas committed Apr 26, 2024
1 parent dd7f740 commit 9c9ba0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/meat-runner-22.04/dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/actions/actions-runner:2.315.0
LABEL org.opencontainers.image.source=https://github.com/synapsestudios/meat-runner

SHELL ["/bin/bash", "--login", "-c", "-o", "pipefail", "-c"]
SHELL ["/bin/bash", "--login", "-c"]
WORKDIR /home/runner
USER root
# apt-fast prerequisites
Expand All @@ -25,7 +25,7 @@ RUN apt-get install -y wget
RUN install -m 0755 -d /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
RUN chmod a+r /etc/apt/keyrings/docker.asc
RUN echo \
RUN set -o pipefail && echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Expand Down

0 comments on commit 9c9ba0b

Please sign in to comment.