From 345cf1badafc05eb3280049595f330d976025617 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 6 Jul 2022 07:15:11 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20=20modified:=20Dockerfi?= =?UTF-8?q?le=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ca2e8e..3b43d1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,31 +1,13 @@ -FROM alpine:edge as build +FROM casjaysdev/bash:latest as build RUN apk --no-cache add --update \ - vim \ - bash \ - curl \ - ca-certificates \ - git \ - tmux \ - util-linux \ - pciutils \ - usbutils \ - coreutils \ - binutils \ - findutils \ - grep \ - iproute2 && \ - ln -sf /bin/bash /bin/sh && \ - mkdir -p /root/.vim/autoload /root/.vim/bundle /root/.cache/resurrect + vim && \ + mkdir -p /root/.vim/autoload /root/.vim/bundle -COPY ./config/resurrect/ /root/.cache/resurrect/ -COPY ./config/tmux.conf /config/.tmux.conf -COPY ./config/bashrc /config/.bashrc COPY ./config/vimrc /config/.vimrc COPY ./bin/. /usr/local/bin/ -RUN /usr/local/bin/tmux-plugins \ - curl -q -LSsf -o ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \ +RUN curl -q -LSsf -o ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \ vim -u "/config/.vimrc" -c ":BundleInstall" +qall /dev/null && \ vim -u "/config/.vimrc" -c ":PluginInstall" +qall /dev/null && \ vim -u "/config/.vimrc" -c ":PluginClean" +qall /dev/null