csci5451/Dockerfile
2023-10-31 04:37:41 +00:00

31 lines
No EOL
650 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 \
curl \
direnv \
git \
libomp-dev \
libopenmpi-dev \
openmpi-bin \
pandoc \
pkg-config \
python3 \
python3-pip \
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 echo 'eval "$(direnv hook bash)"' >> /root/.bashrc