diff --git a/vim/Dockerfile b/vim/Dockerfile new file mode 100644 index 0000000..9369164 --- /dev/null +++ b/vim/Dockerfile @@ -0,0 +1,14 @@ +# get latest alpine image +FROM alpine:latest + +# install dependencies +RUN apk add --update \ + curl \ + vim \ + && rm -rf /var/cache/apk/* + +# copy vim config +COPY vimrc /etc/vimrc + +# set working directory +WORKDIR /usr/src diff --git a/vim/vimrc b/vim/vimrc new file mode 100644 index 0000000..cd72d5e --- /dev/null +++ b/vim/vimrc @@ -0,0 +1,5 @@ +syntax on +set number relativenumber +filetype plugin indent on +set tabstop=2 shiftwidth=2 expandtab +set backspace=indent,eol,start