debian-here/Dockerfile

37 lines
1.5 KiB
Docker
Raw Normal View History

2018-05-24 18:03:07 +00:00
FROM debian:unstable
2018-05-24 18:34:26 +00:00
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
2018-05-24 18:03:07 +00:00
RUN export DEBIAN_FRONTEND=noninteractive &&\
apt-get update &&\
apt-get install -y \
zsh \
git \
curl \
2018-05-24 18:15:30 +00:00
vim \
2018-05-24 18:03:07 +00:00
autojump &&\
rm -rf /var/lib/apt/lists/* &&\
ln -sf /bin/bash /bin/sh
COPY . /
2018-05-24 18:03:07 +00:00
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)" &&\
2018-05-24 18:11:41 +00:00
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 &&\
chsh -s /bin/zsh
2018-05-24 18:15:10 +00:00
RUN git clone --depth 1 https://github.com/junegunn/fzf.git /root/.fzf &&\
/root/.fzf/install
CMD ["/bin/zsh"]