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

Fix 'tk show' and 'tk diff' in docker image #232

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

bastjan
Copy link

@bastjan bastjan commented Mar 5, 2020

Busybox less does not support --RAW-CONTROL-CHARS; tk show and tk diff fail in an unmodified alpine image.

Fixed by installing the full-fledged less.

Before:

> docker run -v `pwd`:/conf -w /conf -it grafana/tanka:latest show environments/dev
less: unrecognized option: RAW-CONTROL-CHARS
BusyBox v1.31.1 () multi-call binary.

Usage: less [-EFIMmNSRh~] [FILE]...
[...]

@rfratto rfratto requested a review from sh0rez March 5, 2020 15:13
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Busybox less does not support `--RAW-CONTROL-CHARS`; `tk show` and `tk diff` fail in an unmodified alpine image.
Copy link
Member

@sh0rez sh0rez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@sh0rez sh0rez merged commit f1ed203 into grafana:master Mar 5, 2020
@sh0rez
Copy link
Member

sh0rez commented Mar 5, 2020

Thanks a lot @bastjan!!

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

Successfully merging this pull request may close these issues.

3 participants