Skip to content

Commit adfcc81

Browse files
committed
feat(wasm-rs): use alpine linux for image build strategy
1 parent 66a1e8c commit adfcc81

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/cli/src/lib/defaults/build-strategies/wasm/rust/image/Dockerfile.mustache

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM rust:1.65.0 as base
1+
FROM rust:1.66-alpine as base
22

33
# Install the wasm32 rust build target
44
RUN rustup target add wasm32-unknown-unknown
55

66
WORKDIR /build-deps
77

88
# Install curl
9-
RUN apt-get update
10-
RUN apt-get -y install curl clang llvm build-essential
9+
RUN apk add curl build-base pkgconfig openssl-dev bash
1110

1211
# Install wasm-opt
1312
RUN curl -L https://github.com/WebAssembly/binaryen/releases/download/version_101/binaryen-version_101-x86_64-linux.tar.gz | tar -xz \

0 commit comments

Comments
 (0)