From 9440fdca5e4516e0d71457a26d60c57ef9d4d9e8 Mon Sep 17 00:00:00 2001 From: Evan Buss Date: Mon, 6 May 2024 00:22:31 +0000 Subject: [PATCH] fix: devcontainer script permissions - had to `chmod +x .devcontainer/setup.sh` - also added `lazygit` to the pre-installed tools --- .devcontainer/devcontainer.json | 2 +- .devcontainer/setup.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 97e191b..ed1a854 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "bash .devcontainer/setup.sh", + "postCreateCommand": "./.devcontainer/setup.sh", // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "root", diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index 3612461..8c877ca 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash go install github.com/go-task/task/v3/cmd/task@latest +go install github.com/jesseduffield/lazygit@latest sudo apt update sudo apt install -y python3.10-venv