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

[bitnami/kubectl] install colordiff in Dockerfile #75730

Open
matiasbertani opened this issue Dec 12, 2024 · 3 comments
Open

[bitnami/kubectl] install colordiff in Dockerfile #75730

matiasbertani opened this issue Dec 12, 2024 · 3 comments
Assignees
Labels
feature-request kubectl stale 15 days without activity triage Triage is needed

Comments

@matiasbertani
Copy link

Name and Version

bitnami/kubectl:1.31

What is the problem this feature will solve?

When using kubectl diff, it is useful to have color in the output, highlighting the diff in a pretty way. This is possible by setting the KUBECTL EXTERNAL DIFF environment variable along with a tools like colordiff. A common use case is automation pipelines, when it is best to view things in the most human-readable way possible.

What is the feature you are proposing to solve the problem?

Install colordiff in the Dockerfile

apt-get install -y --no-install-recommends colordiff

What alternatives have you considered?

No response

@matiasbertani
Copy link
Author

@javsalgar I can create a PR with the suggested feature if you like

@carrodher
Copy link
Member

Hi, thanks for the suggestion. We try to find a balance between usability and limiting the number of packages installed by default to reduce the size and attack surface in the image.
We'll keep the issue open just in case there is more demand from the community to use this package, in the meantime, you can extend the Dockerfile adding the package and building your own image.

Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request kubectl stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants