Skip to content
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

simplify devcontainer #52

Merged
merged 3 commits into from
Jun 2, 2023
Merged

simplify devcontainer #52

merged 3 commits into from
Jun 2, 2023

Conversation

qmuntal
Copy link
Contributor

@qmuntal qmuntal commented May 24, 2023

There is no need for an external Dockerfile when using:

"features": {
	"ghcr.io/devcontainers/features/go:1": {}
},

@qmuntal qmuntal requested a review from dagood May 24, 2023 15:32
"customizations": {
"vscode": {
"extensions": ["golang.go"]
"extensions": [
"golang.go"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect that this is included by default based on https://github.com/devcontainers/features/tree/main/src/go#customizations and the fact that it's a pretty standard extension, but I wasn't able to find a clear answer whether these are available customizations to pick from or default customizations. 😄 Do you know for sure if this bit is required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, for what I could test, looks like it's not necessary. The only properties settable by users are the ones under options. In fact there is a proposal to allow opting out to the default extensions: devcontainers/features#386.

@qmuntal qmuntal requested review from jaredpar and chsienki May 29, 2023 06:20
@qmuntal qmuntal merged commit e3ffd82 into main Jun 2, 2023
33 checks passed
@qmuntal qmuntal deleted the devcont branch June 2, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants