-
Notifications
You must be signed in to change notification settings - Fork 231
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
Allow feature authors to customize the names of the main executables for features. #59
Comments
Just to capture it here - what we discussed in the near term in some DMs is would be to use the filename |
This would be a brilliant addition. Bash scripts are brittle and hard to maintain in general, so the ability to use something else would be quite useful. |
@edgonmsft @jkeech @joshspicer @chrmarti We'd talked about also just allowing @andreiborisov One note is you could use a shell script to bootstrap the right executable based on the architecture being built as things are now. e.g. arm64 vs x86. For example, if you use Go and have both an arm64 and amd64 binary.
|
Nice idea! I want to use fish shell though since it has cleaner and less error-prone syntax than other shells (Go is a bit too involved). Probably not the best place to ask but: Is there a chance of including fish shell in the base image so the environment would be available for features? I understand the desire to move everything in the features, but shell is the most basic interface we use to communicate with containers, so including alternative shells in the base image feels right to me. |
@andreiborisov We're in the process of migrating the images from vscode-dev-containers over to https://github.com/devcontainers/images so that's a good place to discuss. That said, developers could pick another image (e.g. just straight The Alpine common script did something like this with the same script - it initially starts as |
@andreiborisov By the way (sorry this is a bit off-topic) are you planning to move the feature fish to your repository as you are asked here microsoft/vscode-dev-containers#1589 (comment)? |
@eitsupi yes, I'm on it, I'm just trying to figure out a way to make it more maintainable (not writing Bash) |
This proposal is an enhancement idea to the current dev container features proposal.
install.app
andinstall.file
properties for feature authors to control the name of the main executable of their features, also allows them to add some parameters and to create features in ways different than shell scripts.(Previously discussed in #27 (review).)
Originally posted by @chrmarti in #48 (review)
The text was updated successfully, but these errors were encountered: