From 37f08da482d8b25f4c2627208e9cac900a7c7f85 Mon Sep 17 00:00:00 2001 From: "zongmin.gu" Date: Thu, 4 Feb 2021 18:59:05 +0800 Subject: [PATCH] Remove sccache because the latest sccache does not work with nightly Rust --- tools/docker/Dockerfile.centos8.1 | 3 +-- tools/docker/Dockerfile.ubuntu18.04 | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/docker/Dockerfile.centos8.1 b/tools/docker/Dockerfile.centos8.1 index 55ca7ba6..bfa8b7fe 100644 --- a/tools/docker/Dockerfile.centos8.1 +++ b/tools/docker/Dockerfile.centos8.1 @@ -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 diff --git a/tools/docker/Dockerfile.ubuntu18.04 b/tools/docker/Dockerfile.ubuntu18.04 index cfbe5957..3e6d09c2 100644 --- a/tools/docker/Dockerfile.ubuntu18.04 +++ b/tools/docker/Dockerfile.ubuntu18.04 @@ -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