By combining multiple ENV keys, we could reduce intermediate layer that docker processes, hence the time it takes to build new docker images reduced.
5 lines
161 B
Docker
5 lines
161 B
Docker
FROM rust-mipsel-unknown-linux-gnu
|
|
|
|
ENV CC_mipsel_unknown_linux_gnu=mipsel-linux-gnu-gcc \
|
|
CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_GNU_LINKER=mipsel-linux-gnu-gcc
|