Skip to content

Commit

Permalink
Fix 'tk show' and 'tk diff' in docker image
Browse files Browse the repository at this point in the history
Busybox less does not support `--RAW-CONTROL-CHARS`; `tk show` and `tk diff` fail in an unmodified alpine image.
  • Loading branch information
bastjan committed Mar 5, 2020
1 parent bf34367 commit c5e0299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM alpine

# less with `--RAW-CONTROL-CHARS` is required for tk show/ tk diff
RUN apk add --no-cache less

COPY tk /usr/local/bin/tk
ENTRYPOINT ["/usr/local/bin/tk"]

Expand Down

0 comments on commit c5e0299

Please sign in to comment.