Public Repository

Last pushed: 6 months ago
Short Description
vim editor image
Full Description

Build

docker build -t vim-editor .

Run

  docker run -it --rm \
    -v $HOME/.vimrc:/root/.vimrc \
    -v $HOME/.vim:/root/.vim \
    -v $PWD:/root/workspace \
    quasipresence/vim-editor

Dockerfile

FROM ubuntu:latest

ENV HOME /root

RUN  apt-get update && \
     apt-get install -y --no-install-recommends \
       ca-certificates \
       git \
       curl \
       wget \
       vim \
       ctags && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR $HOME/workspace

ENTRYPOINT ["vim"]
Docker Pull Command
Owner
quasipresence

Comments (0)