mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-07-25 23:51:29 +00:00
Add container for speedier development and builds
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
FROM ghcr.io/quarto-dev/quarto-full:1.5.22
|
||||
|
||||
# Avoid warnings by switching to noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
|
||||
&& apt-get -y install git iproute2 procps lsb-release \
|
||||
&& apt-get -y install python3 python3-pip \
|
||||
&& apt-get -y install r-base \
|
||||
&& apt-get -y install julia
|
||||
|
||||
RUN python3 -m pip install jupyter
|
||||
|
||||
# https://discourse.julialang.org/t/how-to-install-all-packages-in-a-project-into-the-general-julia-manifest/84143
|
||||
# RUN julia -e "using Pkg; Pkg.instantiate()"
|
||||
# COPY Project.toml /root/.julia/environments/v1.4/Project.toml
|
||||
# COPY Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
|
||||
# RUN julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
|
||||
|
||||
# # RUN quarto serve
|
@@ -1,15 +1,14 @@
|
||||
{
|
||||
"name": "Anson's Projects",
|
||||
"build":{
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"image": "registry.gitlab.com/anson-projects/projects:latest",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"quarto.quarto",
|
||||
"julialang.language-julia"
|
||||
"julialang.language-julia",
|
||||
"redhat.vscode-yaml",
|
||||
"ms-azuretools.vscode-docker"
|
||||
]
|
||||
}
|
||||
}
|
||||
// "postCreateCommand": "julia -e 'import Pkg; Pkg.activate(\".\"); Pkg.instantiate()'"
|
||||
}
|
Reference in New Issue
Block a user