debian-here/Dockerfile
2018-05-24 20:21:07 +02:00

26 lines
1.1 KiB
Docker

FROM debian:unstable
COPY . /
RUN export DEBIAN_FRONTEND=noninteractive &&\
apt-get update &&\
apt-get install -y \
zsh \
git \
curl \
vim \
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 &&\
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
RUN git clone --depth 1 https://github.com/junegunn/fzf.git /root/.fzf &&\
/root/.fzf/install