Skip to content

Commit 433afdd

Browse files
committed
Dockerfiles: fix DL4006, using pipefail -c
1 parent 571d0e1 commit 433afdd

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

docker/producer-dashboard/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN apt-get update && \
3737
unzip \
3838
rsync
3939

40-
40+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
4141
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
4242

4343
WORKDIR /go

node/testing/docker/Dockerfile.light

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN apt-get update && \
3535
rsync \
3636
liblmdb-dev
3737

38+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
3839
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3940

4041
WORKDIR /go

node/testing/docker/Dockerfile.light.focal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN apt-get update && \
3535
rsync \
3636
liblmdb-dev
3737

38+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
3839
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3940

4041
WORKDIR /go

node/testing/docker/Dockerfile.openmina

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
55
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
66
apt-get -y install --no-install-recommends git curl gcc libssl-dev pkg-config
77

8+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
89
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
910

10-
SHELL ["/bin/bash", "-c"]
11-
1211
RUN source ~/.cargo/env && rustup update 1.84
1312

1413
RUN git clone https://github.com/openmina/openmina

tools/fuzzing/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN apt -y update && \
3535
liblmdb-dev \
3636
rsync
3737

38-
SHELL ["/bin/bash", "-c"]
38+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
3939

4040
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
4141
RUN yes "" | sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

0 commit comments

Comments
 (0)