Skip to content

Commit c37a0ea

Browse files
committed
chore: Update devcontainer configuration to streamline post-create command and refine PATH settings
1 parent 100544a commit c37a0ea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
8282
],
8383
"name": "Devcontainer",
84-
"postCreateCommand": "zsh scripts/devcontainer/postcreatecommand.sh",
84+
"postCreateCommand": "scripts/devcontainer/postcreatecommand.sh",
8585
"remoteEnv": {
86-
"PATH": "/home/vscode/.asdf/shims:/home/vscode/.asdf/bin:${PATH}"
86+
"PATH": "/home/vscode/.asdf/shims:/go/bin:/home/vscode/go/bin:/home/vscode/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand:/home/vscode/.local/bin"
8787
}
8888
}

scripts/devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ RUN echo 'GIT_SSL_CAINFO="/etc/ssl/certs/ca-certificates.crt"' >> ~/.zshrc
4343

4444
# Add Go environment to shell
4545
RUN echo 'GOPATH="/home/vscode/go"' >> ~/.zshrc
46-
RUN echo 'PATH="/home/vscode/.asdf/shims:/go/bin:$GOPATH/bin:$PATH"' >> ~/.zshrc

0 commit comments

Comments
 (0)