Skip to content

Commit

Permalink
build(Dockerfile): set SHELL to /bin/ash (DL4006)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Jan 8, 2025
1 parent 90fb45a commit 9211bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#--- Build stage
FROM golang:1.23-alpine3.20 AS go-builder

SHELL ["/bin/ash", "-o", "pipefail", "-c"]
WORKDIR /src

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

# hadolint ignore=DL4006,DL3018
# hadolint ignore=DL3018
RUN set -eux \
&& apk add --no-cache ca-certificates build-base=0.5-r3 git=~2.45 linux-headers=6.6-r0 \
&& sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 0881c5b463e89e229b06370e9e2961aec0a5c636772d5142c68d351564464a66 \
Expand Down

0 comments on commit 9211bfd

Please sign in to comment.