add dockerfile for playbook testing
This commit is contained in:
commit
ec1c6bea8e
2 changed files with 40 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM debian:bullseye
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install \
|
||||
ansible \
|
||||
ansible-lint \
|
||||
vim\
|
||||
git
|
||||
RUN useradd -U -m -u 1000 user
|
||||
|
||||
USER 1000
|
||||
ADD config/vimrc /home/user/.vimrc
|
||||
WORKDIR /data
|
27
config/vimrc
Normal file
27
config/vimrc
Normal file
|
@ -0,0 +1,27 @@
|
|||
syntax enable
|
||||
set number
|
||||
set nolinebreak
|
||||
set showbreak=+
|
||||
set textwidth=100
|
||||
set showmatch
|
||||
set visualbell
|
||||
set nowrap
|
||||
|
||||
colorscheme industry
|
||||
|
||||
set hlsearch
|
||||
set smartcase
|
||||
set ignorecase
|
||||
set incsearch
|
||||
|
||||
set autoindent
|
||||
set expandtab
|
||||
set shiftwidth=2
|
||||
set smartindent
|
||||
set smarttab
|
||||
set softtabstop=2
|
||||
|
||||
set undolevels=1000
|
||||
set backspace=indent,eol,start
|
||||
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||
match ExtraWhitespace /\s\+$\| \+\ze\t/
|
Loading…
Reference in a new issue