From a6ea6f6ac5a8460d018545e77eecee0fde46cbba Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 9 Mar 2023 22:24:05 -0800 Subject: [PATCH] simplifying to reduce install size --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 864f84f..27e13c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,15 @@ FROM debian:bullseye-slim RUN apt-get update \ -&& apt-get install -y zsh git neovim tmux stow python3-pip \ -&& pip3 install pynvim \ +&& apt-get install -y --no-install-recommends git neovim tmux stow python3-pip \ && apt-get clean WORKDIR /root RUN git clone https://github.com/amdavidson/dotfiles.git /root/.dotfiles \ +&& rm /root/.bash* \ && cd /root/.dotfiles \ -&& stow -t /root zsh git vim tmux - -RUN nvim --headless +"PlugInstall --sync" +qa +&& stow -t /root bash git tmux CMD ["/usr/bin/zsh"]