1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-07-22 06:01:33 +00:00

Switch to Quarto

This commit is contained in:
2024-02-29 07:24:30 +00:00
parent e711e88b59
commit 84bfb3b6a9
200 changed files with 16420 additions and 79346 deletions

21
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
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

View File

@@ -1,25 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "../Dockerfile",
// Set *default* container specific settings.json values on container create.
"settings": {},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ritwickdey.liveserver"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
"name": "Anson's Projects",
"build":{
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"quarto.quarto",
"julialang.language-julia"
]
}
}
// "postCreateCommand": "julia -e 'import Pkg; Pkg.activate(\".\"); Pkg.instantiate()'"
}