Skip to content

Instantly share code, notes, and snippets.

@index0h
Created August 22, 2017 08:38
Show Gist options
  • Save index0h/2c808e28f57a5c05e26582abd8db4d60 to your computer and use it in GitHub Desktop.
Save index0h/2c808e28f57a5c05e26582abd8db4d60 to your computer and use it in GitHub Desktop.
Centos basic image
if has("syntax")
syntax on
endif
if has('mouse')
set mouse=r
endif
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set number " Show line numbers
set paste
set tabstop=4
FROM centos:centos6.6
ENV TERM=xterm
COPY .vimrc /root/.vimrc
RUN yum install -y --nogpgcheck \
epel-release \
&& yum install -y --nogpgcheck --enablerepo='epel' \
vim \
htop \
mc \
&& yum clean all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment