~starkingdoms/starkingdoms

ref: 760e6e6cf56e1a7c33811f1fbe1c4fd70a95d8af starkingdoms/docker/Dockerfile.build_env -rw-r--r-- 526 bytes
760e6e6c — core API CI builds (fix) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
FROM rust

# Note that we add wget here
RUN apt-get update && apt-get install --yes libpq-dev wget

# Install sccache to greatly speedup builds in the CI
RUN wget https://github.com/mozilla/sccache/releases/download/v0.7.4/sccache-v0.7.4-x86_64-unknown-linux-musl.tar.gz \
    && tar xzf sccache-v0.7.4-x86_64-unknown-linux-musl.tar.gz \
    && mv sccache-v0.7.4-x86_64-unknown-linux-musl/sccache /usr/local/bin/sccache \
    && chmod +x /usr/local/bin/sccache

RUN rustup component add rustfmt && rustup component add clippy