Skip to content

Commit

Permalink
fix: devcontainer script permissions
Browse files Browse the repository at this point in the history
- had to `chmod +x .devcontainer/setup.sh`
- also added `lazygit` to the pre-installed tools
  • Loading branch information
evan-buss committed May 6, 2024
1 parent d9dea3d commit 9440fdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9440fdc

Please sign in to comment.