Add image with all toolchains installed
Some checks failed
publish / docker (push) Failing after 2m38s

This commit is contained in:
2025-09-02 22:57:50 -05:00
parent 6d29c7f204
commit 79caf1c1a1
2 changed files with 12 additions and 4 deletions

View File

@@ -23,10 +23,11 @@ RUN apt-get update && \
# OPENSSL_INCLUDE_DIR=/usr/local/ssl/include \
# OPENSSL_STATIC=1
ARG TOOLCHAIN
# install toolchain
ARG TOOLCHAIN
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain $TOOLCHAIN -y
ENV PATH=/root/.cargo/bin:$PATH
ARG EXTRA=""
RUN for name in "$EXTRA"; do rustup install $name; done