New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add devcontainer #5592
add devcontainer #5592
Conversation
This looks great! Thank you.
And if this repository didn't have any .devcontainer configuration and someone opened a Codespace for it, wouldn't they also get a VS Code instance with Go preinstalled and the golang.go extension enabled? At least, that's how I remember hacking on CLI from Codespaces before. Does this configuration just enable us to have greater control over the Go version used?
|
In Codespaces, if a We're now defaulting to 1.18 in the default image, but that may change - so it is nice we now have the devcontainer to enforce consistency :) |
closes #5582
Adds a devcontainer installing
go1.18 for use in GitHub Codespaces and the VS Code Remote-Containers extension.Based on See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.234.0/containers/go/.devcontainer/base.Dockerfile