Loading .devcontainer/devcontainer.json +17 −8 Original line number Diff line number Diff line Loading @@ -3,20 +3,29 @@ // // See https://aka.ms/devcontainer.json for more information. { "name": "devcontainer-client-go", "name": "gitlab-client-go", "image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu", "runArgs": [ "--name", "gitlab-client-go" ], // Features add additional features to your environment. See https://containers.dev/features "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": { "ghcr.io/devcontainers/features/docker-in-docker:4.0.0": { "moby": false }, "ghcr.io/devcontainers-extra/features/mise:1": {}, "ghcr.io/devcontainers/features/go:1": { "version": "1.25" } "ghcr.io/devcontainers-extra/features/mise:1.0.0": {} }, "containerEnv": { "MISE_DATA_DIR": "/usr/local/share/mise" }, "remoteEnv": { "PATH": "/usr/local/share/mise/shims:${containerEnv:PATH}" }, "postStartCommand": "eval \"$(mise activate bash --shims)\" && mise install", // MISE_DATA_DIR lives outside $HOME, so it has to be created and handed to the container user. "postCreateCommand": "sudo install -d -o $(id -u) -g $(id -g) /usr/local/share/mise", // Install (and refresh) the tools pinned in .tool-versions on every start. "postStartCommand": "mise install", // Extensions for VSCode "customizations": { "vscode": { Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -42,3 +42,4 @@ gl-code-quality-report.json Gitlab-license.txt .vscode/ .DS_Store .devcontainer/devcontainer-lock.json Loading
.devcontainer/devcontainer.json +17 −8 Original line number Diff line number Diff line Loading @@ -3,20 +3,29 @@ // // See https://aka.ms/devcontainer.json for more information. { "name": "devcontainer-client-go", "name": "gitlab-client-go", "image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu", "runArgs": [ "--name", "gitlab-client-go" ], // Features add additional features to your environment. See https://containers.dev/features "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": { "ghcr.io/devcontainers/features/docker-in-docker:4.0.0": { "moby": false }, "ghcr.io/devcontainers-extra/features/mise:1": {}, "ghcr.io/devcontainers/features/go:1": { "version": "1.25" } "ghcr.io/devcontainers-extra/features/mise:1.0.0": {} }, "containerEnv": { "MISE_DATA_DIR": "/usr/local/share/mise" }, "remoteEnv": { "PATH": "/usr/local/share/mise/shims:${containerEnv:PATH}" }, "postStartCommand": "eval \"$(mise activate bash --shims)\" && mise install", // MISE_DATA_DIR lives outside $HOME, so it has to be created and handed to the container user. "postCreateCommand": "sudo install -d -o $(id -u) -g $(id -g) /usr/local/share/mise", // Install (and refresh) the tools pinned in .tool-versions on every start. "postStartCommand": "mise install", // Extensions for VSCode "customizations": { "vscode": { Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -42,3 +42,4 @@ gl-code-quality-report.json Gitlab-license.txt .vscode/ .DS_Store .devcontainer/devcontainer-lock.json