From 2698c23a4ec638f21207b236162e2499be8dcef4 Mon Sep 17 00:00:00 2001 From: Eric Harding Date: Tue, 19 Feb 2019 21:10:49 -0500 Subject: [PATCH] Improve vim defaults --- Dockerfile | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0b800a..fc6c78f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ clang \ cmake \ curl \ + libunwind8 \ flex \ bison \ autopoint \ @@ -62,7 +63,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ mono-runtime \ libfsharp-core4.3-cil \ libmono-system-net-http4.0-cil \ - mono-reference-assemblies-4.0 + mono-reference-assemblies-4.0 \ + && rm -rf /var/lig/apt/lists/* run pip install pybars3 paramiko mkdocs @@ -86,15 +88,22 @@ sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd # SSH login fix. Otherwise user is kicked off after login RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd +# vim friendlier defaults +RUN echo 'set background=dark \n\ +set showcmd \n\ +set showmatch \n\ +set ignorecase \n\ +set smartcase \n\ +set incsearch \n\ +set autowrite \n\ +set hidden \n\ +set mouse= \n\ +imap jj \n\ +' >> /etc/vim/vimrc + #taken from https://hub.docker.com/r/microsoft/dotnet/~/dockerfile/ # region .net core -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - libunwind8 \ - curl \ - && rm -rf /var/lib/apt/lists/* - # Install .NET Core SDK ENV DOTNET_SDK_VERSION 2.1.500 ENV DOTNET_SDK_DOWNLOAD_URL https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-x64.tar.gz @@ -113,7 +122,6 @@ run chmod +X /usr/local/bin/paket copy sqlite-version-3.26.0.zip extension-functions.c build_sqlite.sh / run ./build_sqlite.sh - #git-lfs copy git-lfs /usr/bin/