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 request: add option to configure own bash customizations #43

Closed
kaso-mms opened this issue Sep 29, 2022 · 5 comments
Closed

feature request: add option to configure own bash customizations #43

kaso-mms opened this issue Sep 29, 2022 · 5 comments

Comments

@kaso-mms
Copy link

It would be nice if there would be an option to configure bash customizations (stuff you would place in .bashrc or .profile e.g. like aliases), so that they can be baked directly into the image and don't need to be configured afterwards.

@rndmh3ro
Copy link
Collaborator

Sounds reasonable! Do you have a specific implementation in mind?

@kaso-mms
Copy link
Author

Not really as long as it does what it's supposed to be :)

Maybe it could be handled like ansible_requirements / pip_requirements, roughly like this:

  • place a reference to the custom configs into .docker_build file
  • the referenced file contains the custom aliases, bash stuff e.g. (standard bash syntax)
  • contents of that file will be sourced automatically when the container starts

It might be useful for somebody to reference to an directory from .docker_build file that contains multiple files with customizations (but not needed in our case).

@SchwaarS
Copy link
Contributor

Maybe something like this?

This would include both custom scripts that are loaded via /etc/profile and dotfiles like .vimrc .

@michaelamattes
Copy link
Collaborator

We will setup this as new feature with version 2.x

@michaelamattes
Copy link
Collaborator

solved with #50

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

No branches or pull requests

4 participants