Skip to content

Commit 7c54eba

Browse files
committed
ci: Install sccache by using existing script
1 parent 8378006 commit 7c54eba

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed
+12-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
FROM ubuntu:18.04
22

3-
RUN apt-get update && apt-get install -y \
4-
musl-dev \
5-
musl-tools \
6-
curl \
7-
ca-certificates \
8-
perl \
9-
make \
10-
gcc
3+
COPY ci/docker/scripts/sccache.sh /scripts/
114

12-
RUN curl -L https://github.com/mozilla/sccache/releases/download/0.2.8/sccache-0.2.8-x86_64-unknown-linux-musl.tar.gz | tar xzf - \
13-
&& mv ./sccache-0.2.8-x86_64-unknown-linux-musl/sccache /usr/bin/sccache && rm -rf ./sccache-0.2.8-x86_64-unknown-linux-musl
5+
RUN \
6+
apt-get update && \
7+
apt-get install -qy \
8+
musl-dev \
9+
musl-tools \
10+
curl \
11+
ca-certificates \
12+
perl \
13+
make \
14+
gcc && \
15+
sh /scripts/sccache.sh

0 commit comments

Comments
 (0)