Skip to content

Commit 9211bfd

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
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+
# hadolint ignore=DL3018
1112
RUN set -eux \
1213
&& apk add --no-cache ca-certificates build-base=0.5-r3 git=~2.45 linux-headers=6.6-r0 \
1314
&& sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 0881c5b463e89e229b06370e9e2961aec0a5c636772d5142c68d351564464a66 \

0 commit comments

Comments
 (0)