Skip to content

Commit 45f9467

Browse files
authored
Fix 'tk show' and 'tk diff' in docker image
Busybox less does not support `--RAW-CONTROL-CHARS`; `tk show` and `tk diff` fail in a unmodified alpine image.
1 parent bf34367 commit 45f9467

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
FROM alpine
2+
3+
# less with `--RAW-CONTROL-CHARS` is required for tk show/ tk diff
4+
RUN RUN apk add --no-cache less
5+
26
COPY tk /usr/local/bin/tk
37
ENTRYPOINT ["/usr/local/bin/tk"]
48

0 commit comments

Comments
 (0)