debian-here/Dockerfile

34 lines
1.4 KiB
Docker

FROM debian:unstable
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 \
zsh \
git \
curl \
vim \
autojump &&\
rm -rf /var/lib/apt/lists/* &&\
ln -sf /bin/bash /bin/sh
COPY . /
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