this is a fork from https://github.com/julia-vscode/julia-devcontainer
docker build -t myjuliadev .
- install remote-container extension
- create a
.devcontainer
folder in the folder you want to open in the container. - add file
devcontainer.json
inside.devcontainer
. - add following to
devcontainer.json
:
{
"name": "myvscodejuliadev",
"image": "myjuliadev",
"extensions": ["julialang.language-julia"],
"postCreateCommand": "/julia-devcontainer-scripts/postcreate.jl",
"remoteUser": "vscode"
}
- Finally, press F1 and run Remote-Containers: Open Folder in Container and select the folder containing your
.devcontainer