2023-10-09 09:17:14 +00:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2023-10-31 04:37:41 +00:00
|
|
|
|
|
|
|
FROM ghcr.io/typst/typst:latest as typst
|
|
|
|
|
2023-10-08 01:37:18 +00:00
|
|
|
FROM ubuntu:22.04
|
2023-10-09 07:51:38 +00:00
|
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
2023-10-08 01:37:18 +00:00
|
|
|
|
|
|
|
RUN apt update -y && apt install -y --no-install-recommends \
|
2023-10-09 07:51:38 +00:00
|
|
|
build-essential \
|
|
|
|
ca-certificates \
|
|
|
|
clangd \
|
2023-11-19 06:57:10 +00:00
|
|
|
clang \
|
2023-10-09 07:51:38 +00:00
|
|
|
curl \
|
|
|
|
direnv \
|
2023-11-28 01:05:40 +00:00
|
|
|
gdb \
|
2023-10-09 07:51:38 +00:00
|
|
|
git \
|
|
|
|
libomp-dev \
|
2023-10-23 00:38:42 +00:00
|
|
|
libopenmpi-dev \
|
2023-11-25 02:05:20 +00:00
|
|
|
libfmt-dev \
|
2023-10-23 00:38:42 +00:00
|
|
|
openmpi-bin \
|
2023-10-09 09:17:14 +00:00
|
|
|
pandoc \
|
2023-10-23 00:38:42 +00:00
|
|
|
pkg-config \
|
2023-10-09 07:51:38 +00:00
|
|
|
python3 \
|
|
|
|
python3-pip \
|
2023-10-09 09:17:14 +00:00
|
|
|
texlive-latex-base \
|
|
|
|
texlive-latex-extra \
|
2023-10-09 07:51:38 +00: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 07:51:38 +00: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-28 01:05:40 +00:00
|
|
|
# RUN /root/.cargo/bin/cargo install watchexec-cli
|
2023-11-19 06:57:10 +00:00
|
|
|
|
2023-10-09 07:51:38 +00:00
|
|
|
RUN echo 'eval "$(direnv hook bash)"' >> /root/.bashrc
|