Add image with all toolchains installed
Some checks failed
publish / docker (push) Has been cancelled
Some checks failed
publish / docker (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user