From 2dc970acd233f8f783abf21367f68054b3bc292a Mon Sep 17 00:00:00 2001 From: Eduardo Minguez Date: Tue, 19 Dec 2017 10:52:17 +0100 Subject: [PATCH 1/2] Added dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3585f02 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM fedora:latest +COPY tree-EN.sh /tree-EN.sh +ENV TERM=xterm-256color +CMD ["/tree-EN.sh"] From 65589778dbbd09143b9d1f19a489429964d2c2e2 Mon Sep 17 00:00:00 2001 From: Eduardo Minguez Date: Tue, 19 Dec 2017 10:59:16 +0100 Subject: [PATCH 2/2] Reduce the container image --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3585f02..c89fc9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM fedora:latest +FROM alpine:latest COPY tree-EN.sh /tree-EN.sh +RUN apk add --update ncurses bash ENV TERM=xterm-256color -CMD ["/tree-EN.sh"] +CMD ["bash","/tree-EN.sh"]