diff --git a/Dockerfile b/Dockerfile index 1226986..113c780 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,9 @@ RUN pacman --noconfirm -Syu && pacman --noconfirm -Sy \ bash-language-server \ && rm -rf /var/cache/pacman/pkg/* +# Enable colors in pacman +RUN sed -i 's/^#Color/Color/' /etc/pacman.conf + FROM base as yay_builder # prepare nobody makepkg user @@ -58,7 +61,9 @@ RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -COPY . /root/.dotfiles + +RUN git clone https://git.decapod.one/brethil/dotfiles ${DOTFILES} +COPY . ${DOTFILES} WORKDIR /root/ @@ -68,9 +73,9 @@ RUN ln -s $DOTFILES/tmux.conf .tmux.conf RUN echo -e "[include]\npath = $DOTFILES/gitconfig" >> .gitconfig # Install vim plugins -RUN vim -c 'PlugInstall|qa!' &>/dev/null || echo "installed vim plugins" +RUN vim -c 'PlugInstall|qa!' # Install zsh plugins -RUN antibody update +RUN zsh -il -c exit CMD tmux