Skip to content
Snippets Groups Projects
Commit 1d8d4b69 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

Prefix dev container volumes with goSDN

See merge request !588
parent 5234f5c7
Branches
Tags
1 merge request!588Prefix dev container volumes with goSDN
Pipeline #164895 passed
...@@ -34,10 +34,11 @@ ...@@ -34,10 +34,11 @@
}, },
"mounts": [ "mounts": [
// Source: https://github.com/microsoft/vscode-remote-release/issues/5823 // Source: https://github.com/microsoft/vscode-remote-release/issues/5823
// Creates a named volume `vscode-home-dir` mounted to /home/vscode. Survives a rebuild. // Creates a named volume `gosdn-vscode-home-dir` mounted to /home/vscode. Survives a rebuild.
// Creates a named volume `gosdn-docker-root-config` mounted to /root/.docker. Survives a rebuild.
// Creates an anonymous volume mounted to /home/vscode/.vscode-server. Gets destroyed on rebuild, which allows vscode to reinstall the extensions and dotfiles. // Creates an anonymous volume mounted to /home/vscode/.vscode-server. Gets destroyed on rebuild, which allows vscode to reinstall the extensions and dotfiles.
"source=vscode-home-dir,target=/home/vscode,type=volume", "source=gosdn-vscode-home-dir,target=/home/vscode,type=volume",
"source=docker-root-config,target=/root/.docker,type=volume", "source=gosdn-docker-root-config,target=/root/.docker,type=volume",
"target=/home/vscode/.vscode-server,type=volume", "target=/home/vscode/.vscode-server,type=volume"
] ]
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment