1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-07-24 23:21:24 +00:00

Add container for speedier development and builds

This commit is contained in:
2024-03-03 04:17:01 +00:00
parent 8cba29090e
commit 46e0190668
4 changed files with 40 additions and 43 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM ghcr.io/quarto-dev/quarto-full:1.5.22
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils dialog \
git iproute2 procps lsb-release \
python3 python3-pip \
r-base \
julia \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install jupyter
# Assuming Project.toml and Manifest.toml are copied to the correct locations
COPY Project.toml /root/.julia/environments/v1.4/
COPY Manifest.toml /root/.julia/environments/v1.4/
RUN julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"