Dockerfile stuff for eventual in-docker Rust builds
This commit is contained in:
parent
198e8b1c36
commit
d5688bf6e9
|
@ -24,3 +24,16 @@ RUN echo "PACKAGER_PRIVKEY=/home/${BUILD_USER}/.abuild/${KEYFILE}" >> /home/${BU
|
|||
|
||||
USER ${BUILD_USER}
|
||||
WORKDIR /data
|
||||
|
||||
# When (if?) I switch to in-docker Rust builds, the following will be useful.
|
||||
#
|
||||
# # Running without proxy for now, to ensure reasonable freshness and consistency:
|
||||
# # RUN http_proxy=${http_proxy} https_proxy=${http_proxy} rustup-init -y --default-toolchain nightly
|
||||
# #
|
||||
# RUN rustup-init -y --default-toolchain nightly
|
||||
# ENV PATH=/home/${BUILD_USER}/.cargo/bin:$PATH
|
||||
# # Prime the crates.io index
|
||||
# RUN cargo search --limit 0
|
||||
#
|
||||
# # Hack to workaround https://github.com/rust-lang/rust/issues/89626
|
||||
# ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Zgcc-ld=lld"
|
||||
|
|
Loading…
Reference in New Issue