Allow using the `rust-lang/rust:nightly` docker image to run tests in cases where the host rust and cargo cannot be used, such as non-linux hosts.
8 lines
201 B
Docker
8 lines
201 B
Docker
ARG IMAGE=ubuntu:20.04
|
|
FROM $IMAGE
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
gcc clang libc6-dev ca-certificates
|
|
|
|
ENV CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=true
|