-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Salesforce/sfdx project container #123
Salesforce/sfdx project container #123
Conversation
pull in the latest from microsoft master
Thanks so much for the contribution! Looks good (though I don't have a project to test in depth), but two thoughts for consideration:
Either of these make sense in this case? |
@Chuxel - Thanks for the feedback.
So the current state is good for us and we will iterate by making changes through our Dockerfile at (soon to be public) https://github.com/forcedotcom/salesforcedx-docker With that, are we good to merge? |
Once this is merged, when does it become available in the VS Code? |
@vazexqi Yep! Cool stuff! @dehru We're in our "endgame" for August (VS Code 1.38), so this should land in insiders soon and go out with the stable release sometime next week. We can push out-of-band if needed, but tend to stay on the same release cadence since VS Code releases tend to be when people notice updates. |
@vazexqi @dehru One thing we happend to notice in the doc update you referenced, was: ">NOTE: Make sure you clear salesforcedx-vscode-apex.java.home from your local settings because it overrides the default setting in the container environment." Just a FYI - but are you aware of the You can use it like this to set a container specific setting that takes precedence over the user setting. "settings": {
"salesforcedx-vscode-apex.java.home": "/usr/local/jvm/java-11-openjdk-amd64"
} Adding it to devcontainer.json automatically sets it when the container is created (or rebuilt). You can also edit it from the settings UI once you're connected to the container (under a "Remote" tab), but this automates it. Dev containers like Java explicitly set this for exactly this reason. Not sure if the path above is right, but this could easily get added in. |
Awesome, thanks for tip @Chuxel ! We will do that. |
@vazexqi Great - Happy to review a PR (or just make the change if easier). |
Thanks for the tip. I just submitted a new PR with this property set. |
This adds a dev container definition for sfdx based on the dockerhub container salesforce/salesforcedx with additional extensions defined in devcontainer.json. I didn't include a test-project directory because we have separate test coverage for salesforce/salesforcedx.