From dd10c159a9029e9401c55e2eab3e0a43ad097293 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 1 Apr 2018 11:26:21 +0200 Subject: Add docker support --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..acf2201a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +# Usage instructions: +# 1. "docker build -t ranger/ranger:latest ranger ." +# 2. "docker run -it ranger/ranger ranger" + +FROM debian + +RUN apt-get update +RUN apt-get install -y ranger -- cgit 1.4.1-2-gfad0 From b9e95cab9e166fbab3d452e91ed899c856af859e Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 1 Apr 2018 11:36:36 +0200 Subject: Fix documentation for docker integration --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index acf2201a..801725b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Usage instructions: -# 1. "docker build -t ranger/ranger:latest ranger ." +# 1. "docker build -t ranger/ranger:latest ." # 2. "docker run -it ranger/ranger ranger" FROM debian -- cgit 1.4.1-2-gfad0 From 47cec22449621c531f6ac042cc14e6309289d747 Mon Sep 17 00:00:00 2001 From: Wojciech Siewierski Date: Sun, 1 Apr 2018 13:02:01 +0200 Subject: Dockerfile: Avoid creating unnecessary layers --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 801725b0..ecb2be6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,4 @@ FROM debian -RUN apt-get update -RUN apt-get install -y ranger +RUN apt-get update && apt-get install -y ranger -- cgit 1.4.1-2-gfad0 From e09e2648752d24361e94d9bba66c5a1049fd2fb5 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 1 Apr 2018 14:46:39 +0200 Subject: Add docker entrypoint --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index ecb2be6f..36ad0a95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # Usage instructions: # 1. "docker build -t ranger/ranger:latest ." -# 2. "docker run -it ranger/ranger ranger" +# 2. "docker run -it ranger/ranger" FROM debian RUN apt-get update && apt-get install -y ranger +ENTRYPOINT ["ranger"] -- cgit 1.4.1-2-gfad0