FROM debian:unstable USER root RUN export DEBIAN_FRONTEND=noninteractive &&\ apt-get update &&\ apt-get install -y locales RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen &&\ dpkg-reconfigure --frontend=noninteractive locales &&\ update-locale LANG=en_US.UTF-8 ENV LANG en_US.UTF-8 RUN export DEBIAN_FRONTEND=noninteractive &&\ apt-get update &&\ apt-get install -y \ build-essential \ procps \ zsh \ git \ curl \ vim \ autojump &&\ rm -rf /var/lib/apt/lists/* &&\ ln -sf /bin/bash /bin/sh COPY . / RUN git clone https://git.strongds.hu/mrtoth/zshrc.git ~/zshrc &&\ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &&\ ln -sf ~/zshrc/rc ~/.zshrc &&\ echo 'export PROMPT="${PROMPT}(${fg[red]}debian${reset_color}) "' >> ~/zshrc/rc &&\ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting &&\ chsh -s /bin/zsh RUN git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf &&\ ~/.fzf/install CMD ["/bin/zsh"]