mirror of https://github.com/google/oss-fuzz.git
parent
eb7e772953
commit
89650d9919
|
@ -25,10 +25,7 @@ RUN apt-get --yes update \
|
||||||
&& rm --recursive --force /var/lib/apt/lists/*
|
&& rm --recursive --force /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install rustup.
|
# Install rustup.
|
||||||
ARG rustup_dir=/usr/local/cargo
|
ARG rustup_dir=/rust
|
||||||
ENV RUSTUP_HOME ${rustup_dir}
|
|
||||||
ENV CARGO_HOME ${rustup_dir}
|
|
||||||
ENV PATH "${rustup_dir}/bin:${PATH}"
|
|
||||||
RUN curl --location https://sh.rustup.rs > /tmp/rustup \
|
RUN curl --location https://sh.rustup.rs > /tmp/rustup \
|
||||||
&& sh /tmp/rustup -y --default-toolchain=none \
|
&& sh /tmp/rustup -y --default-toolchain=none \
|
||||||
&& chmod a+rwx ${rustup_dir} \
|
&& chmod a+rwx ${rustup_dir} \
|
||||||
|
|
Loading…
Reference in New Issue