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
feat: add configuration for Visual Studio Code #3309
Conversation
Out of all the different tags I tried, |
The PR has |
Mostly
|
Oh |
.devcontainer.json
Outdated
@@ -0,0 +1,8 @@ | |||
{ | |||
"name": "Dev Container Definition - AWS JSII", | |||
"image": "jsii/superchain:1-buster-slim", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand the documentation correctly, adding remoteUser
might make EPERM
problems go away (ref: https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user).
"image": "jsii/superchain:1-buster-slim", | |
"image": "jsii/superchain:1-buster-slim", | |
"remoteUser": "superchain", |
This will assure we get the right image for the branch. Also build faster by ignoring temporary files like python venv and node_modules that the build itself creates.
error An unexpected error occurred: "EPERM: operation not permitted, chmod '/workspaces/jsii/packages/@jsii/dotnet-runtime/node_modules/.bin/jsii-runtime'".
Thanks for the push. I was able to finally track down one of the more persistent access denied issues. It was unable to gather Docker context because it was trying to copy the So I am now finally able to build the container automatically with VScode instead of using an old one that possibly doesn't match. It especially doesn't match because I'm doing all this to get Ruby support in. But... it still won't install :(
It seems to be a symlink pointing to a file that's part of the repo. That file belongs to |
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
Merging (with squash)... |
Merging (with squash)... |
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.