small devcontainer cleanup

This commit is contained in:
Bernhard Sessner 2023-09-19 14:52:24 +02:00
parent f6741eb7ac
commit 7cfce8b6f8

View File

@ -1,16 +1,14 @@
// For format details, see https://aka.ms/devcontainer.json. // For format details, see https://aka.ms/devcontainer.json.
{ {
"name": "Python 3", "name": "Inkycal-dev",
"image": "python:3.9-bullseye", "image": "python:3.9-bullseye",
// This is the settings.json mount // This is the settings.json mount
"mounts": ["source=/c/temp/settings_test.json,target=/boot/settings.json,type=bind,consistency=cached"], "mounts": ["source=/c/temp/settings_test.json,target=/boot/settings.json,type=bind,consistency=cached"],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip3 install --user -r requirements.txt", "postCreateCommand": "pip3 install --upgrade pip && pip3 install --user -r requirements.txt",
// We want to connect as root. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root",
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [