Skip to content

Commit 46f0df3

Browse files
committed
revert sccache builds, as GHA does not like it
1 parent 3921cfa commit 46f0df3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@ RUN apt install -y libssl-dev mold
44
WORKDIR /app
55
COPY . /app
66
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
7-
RUN wget https://github.com/mozilla/sccache/releases/download/v0.2.15/sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz \
8-
&& tar xzf sccache-v0.2.15-x86_64-unknown-linux-musl.tar.gz \
9-
&& mv sccache-v0.2.15-x86_64-unknown-linux-musl/sccache /usr/local/bin/sccache \
10-
&& chmod +x /usr/local/bin/sccache
11-
ENV RUSTC_WRAPPER=/usr/local/bin/sccache
12-
ENV SCCACHE_DIR=/root/.cache/sccache
137
ENV RUSTFLAGS="-C link-arg=-B/usr/bin/mold"
148
# copy build artifact somewhere accessible so we can copy it in the next stage
159
RUN --mount=type=cache,target=/root/.cargo \
16-
--mount=type=cache,target=/root/.cache/sccache \
17-
cargo build --release
10+
cargo build --release
1811

1912
FROM redhat/ubi9-micro:latest
2013
# RUN useradd -u 1001 chisel

0 commit comments

Comments
 (0)