Skip to content

Commit a1da1b5

Browse files
committed
build(Dockerfile): set SHELL to /bin/ash (DL4006)
1 parent 90fb45a commit a1da1b5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
#--- Build stage
22
FROM golang:1.23-alpine3.20 AS go-builder
33

4+
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
45
WORKDIR /src
56

67
# CosmWasm: see https://github.com/CosmWasm/wasmvm/releases
78
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
89
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
910

10-
# hadolint ignore=DL4006,DL3018
11-
RUN set -eux \
12-
&& apk add --no-cache ca-certificates build-base=0.5-r3 git=~2.45 linux-headers=6.6-r0 \
13-
&& sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 0881c5b463e89e229b06370e9e2961aec0a5c636772d5142c68d351564464a66 \
14-
&& sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 58e1f6bfa89ee390cb9abc69a5bc126029a497fe09dd399f38a82d0d86fe95ef
11+
# hadolint ignore=DL3018
12+
RUN \
13+
apk add --no-cache ca-certificates build-base=0.5-r3 git=~2.45 linux-headers=6.6-r0 \
14+
sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 0881c5b463e89e229b06370e9e2961aec0a5c636772d5142c68d351564464a66 \
15+
sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 58e1f6bfa89ee390cb9abc69a5bc126029a497fe09dd399f38a82d0d86fe95ef
1516

1617
COPY . /src/
1718

0 commit comments

Comments
 (0)