From 9bfda096779e6b5e462530622bacedb6d471f1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 24 May 2018 20:03:07 +0200 Subject: [PATCH] Install barebones zsh with my rc --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..36c25d8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:unstable + +RUN export DEBIAN_FRONTEND=noninteractive &&\ + apt-get update &&\ + apt-get install -y \ + zsh \ + git \ + curl \ + autojump &&\ + rm -rf /var/lib/apt/lists/* &&\ + ln -sf /bin/bash /bin/sh + +RUN cd /root &&\ + git clone https://git.strongds.hu/mrtoth/zshrc.git &&\ + echo "/root/.oh-my-zsh" > zshrc/oh-my-zsh_path &&\ + sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &&\ + ln -sf /root/zshrc/rc /root/.zshrc +