csci5451/Dockerfile
2023-12-10 17:38:53 -06:00

38 lines
No EOL
807 B
Docker

ARG DEBIAN_FRONTEND=noninteractive
FROM ghcr.io/typst/typst:latest as typst
FROM ubuntu:22.04
ENV PATH="/root/.cargo/bin:${PATH}"
RUN apt update -y && apt install -y --no-install-recommends \
build-essential \
ca-certificates \
clangd \
clang \
curl \
direnv \
gdb \
git \
libomp-dev \
libopenmpi-dev \
libfmt-dev \
openmpi-bin \
pandoc \
pkg-config \
python3 \
python3-pip \
python3-venv \
texlive-latex-base \
texlive-latex-extra \
valgrind \
;
RUN pip install poetry
COPY --from=typst /bin/typst /usr/bin/typst
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN /root/.cargo/bin/cargo install cargo-watch
# RUN /root/.cargo/bin/cargo install watchexec-cli
RUN echo 'eval "$(direnv hook bash)"' >> /root/.bashrc