mirror of
https://git.proxmox.com/git/rustc
synced 2025-07-24 16:21:11 +00:00
17 lines
484 B
Docker
17 lines
484 B
Docker
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.19.0/wasmtime-v0.19.0-x86_64-linux.tar.xz | tar xJf -
|
|
ENV PATH=$PATH:/wasmtime-v0.19.0-x86_64-linux
|
|
|
|
ENV CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime \
|
|
--enable-simd \
|
|
--mapdir .::/checkout/target/wasm32-wasi/release/deps \
|
|
--"
|