summaryrefslogtreecommitdiffstats
path: root/library/stdarch/ci/docker/wasm32-wasi/Dockerfile
blob: 3e250f8b50e6568fc60eeb8d97892726d6ebc95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && apt-get install -y --no-install-recommends \
  ca-certificates \
  curl \
  xz-utils \
  clang

RUN curl -L https://github.com/bytecodealliance/wasmtime/releases/download/v0.29.0/wasmtime-v0.29.0-x86_64-linux.tar.xz | tar xJf -
ENV PATH=$PATH:/wasmtime-v0.29.0-x86_64-linux

ENV CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime \
  --enable-simd \
  --enable-threads \
  --mapdir .::/checkout/target/wasm32-wasi/release/deps \
  --"