11 lines
346 B
Docker
11 lines
346 B
Docker
FROM mato/rumprun-toolchain-hw-x86_64
|
|
USER root
|
|
RUN apt-get update
|
|
RUN apt-get install -y --no-install-recommends \
|
|
qemu
|
|
ENV PATH=$PATH:/rust/bin \
|
|
CARGO_TARGET_X86_64_RUMPRUN_NETBSD_RUNNER=/tmp/runtest
|
|
|
|
ADD docker/x86_64-rumprun-netbsd/runtest.rs /tmp/
|
|
ENTRYPOINT ["sh", "-c", "rustc /tmp/runtest.rs -o /tmp/runtest && exec \"$@\"", "--"]
|