From c7e03de54aae553d92d28b0e4bc3f520bb190b77 Mon Sep 17 00:00:00 2001 From: lumin Date: Sat, 21 Dec 2024 11:52:21 +0900 Subject: [PATCH] refactor: update devcontainer configuration for clarity Remove unnecessary INSTALL_GIT argument and set target to development in the devcontainer.json file. This simplifies the configuration and aligns it with the intended development environment setup. --- .devcontainer/devcontainer.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e13e299..b0494b2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,9 +7,7 @@ "context": "..", // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. "dockerfile": "../Dockerfile", - "args": { - "INSTALL_GIT": "true" - } + "target": "development" }, // Features to add to the dev container. More info: https://containers.dev/features. @@ -17,6 +15,14 @@ "features": { "ghcr.io/devcontainers-extra/features/hatch:2": {} }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "charliermarsh.ruff" + ] + } + }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], @@ -28,5 +34,5 @@ // "customizations": {}, // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. - "remoteUser": "root" + // "remoteUser": "root" }