Remove sccache because the latest sccache does not work with nightly Rust

This commit is contained in:
zongmin.gu 2021-02-04 18:59:05 +08:00 committed by Zongmin.Gu
parent 0252f98d60
commit 37f08da482
2 changed files with 2 additions and 4 deletions

@ -66,8 +66,7 @@ ENV OCCLUM_RUST_VERSION=nightly-2020-09-08
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
cargo -V && \
cargo install sccache
cargo -V
# Install Occlum toolchain
COPY toolchains/musl-gcc /tmp/musl-gcc

@ -78,8 +78,7 @@ ENV OCCLUM_RUST_VERSION=nightly-2020-09-08
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
cargo -V && \
cargo install sccache
cargo -V
# Install Occlum toolchain
COPY toolchains/musl-gcc /tmp/musl-gcc