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

[Feature]: Execution of custom scripts on Dockerfile and devcontainer.json #44

Open
kse3hi opened this issue Oct 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kse3hi
Copy link
Contributor

kse3hi commented Oct 25, 2023

Description

As developer I would like to execute custom scripts in Dockerfile and devcontainer.json to be able to localize some behavior (e.g. specific proxy handling etc).

Currently all local changes will be re-written by velocitas init

This feature based on eclipse-velocitas/devenv-runtimes#49

Suggested Solution

ON_CREATE_EXTENSION_SCRIPT = ".devcontainer/extensions/on-create.sh"

if [ -e "$ON_CREATE_EXTENSION_SCRIPT" ]; then
    bash $ON_CREATE_EXTENSION_SCRIPT
fi

Alternatives

No response

Additional Context

No response

@BjoernAtBosch
Copy link
Member

This is (at least partially) solved by #95: With that users can add repo-specific actions during devcontainer creation and post startup.
Not supported (still): Extending the Dockerfile with repo-specific steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants