Skip to content

Commit

Permalink
Disable vim swap file (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Nov 17, 2017
1 parent 0ac9787 commit 7b3ea7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN apk update \

RUN echo "net.ipv6.conf.all.disable_ipv6=0" > /etc/sysctl.d/00-ipv6.conf

# Disable vim from reating a swapfile (incompatible with goofys)
RUN echo 'set noswapfile' >> /etc/vim/vimrc

USER root

WORKDIR /tmp
Expand Down

0 comments on commit 7b3ea7b

Please sign in to comment.