-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 760 Bytes
/
Dockerfile
File metadata and controls
33 lines (28 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM rust:1.60.0-slim-bullseye
RUN apt-get update && \
apt-get -yq dist-upgrade && \
apt-get install -yq --no-install-recommends \
libcfitsio-dev \
pkg-config \
libclang-19-dev \
build-essential \
cmake \
clang \
gdb \
python3 \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN rustup update && \
rustup install stable && \
rustup install nightly && \
rustup component add --toolchain stable clippy
RUN cargo +stable install --locked cargo-nextest
VOLUME ["/project"]
WORKDIR "/project"
RUN apt-get update && \
apt-get install -yq --no-install-recommends \
valgrind \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*