~starkingdoms/starkingdoms

ref: 35b727a3ef4ebeaf7f3929e0702019d488af98bd starkingdoms/docker/Dockerfile.build_env -rw-r--r-- 590 bytes
35b727a3 — core clone w/tags and no partial clone 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
FROM rust:slim

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

# 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 self update && rustup update && rustup component add rustfmt && rustup component add clippy