Remove sccache because the latest sccache does not work with nightly Rust
This commit is contained in:
parent
0252f98d60
commit
37f08da482
@ -66,8 +66,7 @@ ENV OCCLUM_RUST_VERSION=nightly-2020-09-08
|
|||||||
RUN curl https://sh.rustup.rs -sSf | \
|
RUN curl https://sh.rustup.rs -sSf | \
|
||||||
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
|
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
|
||||||
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
|
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
|
||||||
cargo -V && \
|
cargo -V
|
||||||
cargo install sccache
|
|
||||||
|
|
||||||
# Install Occlum toolchain
|
# Install Occlum toolchain
|
||||||
COPY toolchains/musl-gcc /tmp/musl-gcc
|
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 | \
|
RUN curl https://sh.rustup.rs -sSf | \
|
||||||
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
|
sh -s -- --default-toolchain ${OCCLUM_RUST_VERSION} -y && \
|
||||||
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
|
rm -rf /root/.cargo/registry && rm -rf /root/.cargo/git && \
|
||||||
cargo -V && \
|
cargo -V
|
||||||
cargo install sccache
|
|
||||||
|
|
||||||
# Install Occlum toolchain
|
# Install Occlum toolchain
|
||||||
COPY toolchains/musl-gcc /tmp/musl-gcc
|
COPY toolchains/musl-gcc /tmp/musl-gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user