csci5451/Dockerfile

38 lines
807 B
Text
Raw Normal View History

2023-10-09 04:17:14 -05:00
ARG DEBIAN_FRONTEND=noninteractive
2023-10-31 04:37:41 +00:00
FROM ghcr.io/typst/typst:latest as typst
2023-10-07 20:37:18 -05:00
FROM ubuntu:22.04
2023-10-09 02:51:38 -05:00
ENV PATH="/root/.cargo/bin:${PATH}"
2023-10-07 20:37:18 -05:00
RUN apt update -y && apt install -y --no-install-recommends \
2023-10-09 02:51:38 -05:00
build-essential \
ca-certificates \
clangd \
2023-11-19 06:57:10 +00:00
clang \
2023-10-09 02:51:38 -05:00
curl \
direnv \
2023-11-27 19:05:40 -06:00
gdb \
2023-10-09 02:51:38 -05:00
git \
libomp-dev \
2023-10-22 19:38:42 -05:00
libopenmpi-dev \
2023-11-25 02:05:20 +00:00
libfmt-dev \
2023-10-22 19:38:42 -05:00
openmpi-bin \
2023-10-09 04:17:14 -05:00
pandoc \
2023-10-22 19:38:42 -05:00
pkg-config \
2023-10-09 02:51:38 -05:00
python3 \
python3-pip \
2023-12-10 16:58:28 -06:00
python3-venv \
2023-10-09 04:17:14 -05:00
texlive-latex-base \
texlive-latex-extra \
2023-10-09 02:51:38 -05:00
valgrind \
;
RUN pip install poetry
2023-10-31 04:37:41 +00:00
COPY --from=typst /bin/typst /usr/bin/typst
2023-10-09 02:51:38 -05:00
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
2023-11-19 06:57:10 +00:00
RUN /root/.cargo/bin/cargo install cargo-watch
2023-11-27 19:05:40 -06:00
# RUN /root/.cargo/bin/cargo install watchexec-cli
2023-11-19 06:57:10 +00:00
2023-10-09 02:51:38 -05:00
RUN echo 'eval "$(direnv hook bash)"' >> /root/.bashrc