mirror of
https://github.com/wasmerio/wasmer.git
synced 2025-09-07 01:14:53 +00:00

See https://github.com/wasmerio/wasmer/issues/2822 For some reason these libraries get linked into the final release binary, which should not be the default (since these dependencies are only needed for the experimental-io extension).
11 lines
354 B
Docker
11 lines
354 B
Docker
FROM rust:1
|
|
#FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge
|
|
|
|
# set CROSS_DOCKER_IN_DOCKER to inform `cross` that it is executed from within a container
|
|
ENV CROSS_DOCKER_IN_DOCKER=true
|
|
|
|
RUN cargo install cross
|
|
RUN dpkg --add-architecture arm64 && \
|
|
apt-get update && \
|
|
apt-get install -qy curl && \
|
|
curl -sSL https://get.docker.com/ | sh |