1
Fork 0
ci-images/rust-windows/Dockerfile

13 lines
376 B
Docker

FROM rust-linux
RUN set -e; \
apt-get update; \
apt-get install -y --no-install-recommends g++-mingw-w64-x86-64; \
apt-get clean; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
RUN set -e; \
rustup target add x86_64-pc-windows-gnu; \
rustup toolchain install --force-non-host stable-x86_64-pc-windows-gnu
COPY config.toml $CARGO_HOME/config.toml