Skip to content

Commit 880e8ef

Browse files
author
js-jslog
committed
make efficiency improvements and add .gitconfig
1 parent e1021e9 commit 880e8ef

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ RUN npm install -g eslint
4545
RUN npm install -g eslint-config-airbnb-base
4646
RUN npm install -g eslint-plugin-import
4747

48-
RUN add-apt-repository ppa:jonathonf/vim -y
49-
RUN apt update
50-
RUN apt install vim -y
48+
RUN add-apt-repository ppa:jonathonf/vim -y \
49+
&& apt update \
50+
&& apt install vim -y
5151

5252
COPY dotfiles/.vimrc /root/.vimrc
53+
COPY dotfiles/.gitconfig /root/.gitconfig
5354
COPY dotfiles/.bash_aliases /root/.bash_aliases
5455

55-
RUN rm -r /root/.vim || true
56-
RUN curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
57-
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
58-
RUN vim +PlugInstall +qall
56+
RUN rm -r /root/.vim || true \
57+
&& curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
58+
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \
59+
&& vim +PlugInstall +qall

0 commit comments

Comments
 (0)