From 996e4c5ad267382449cc646efd92e7b229689f86 Mon Sep 17 00:00:00 2001 From: Madalin Ignisca Date: Fri, 27 Aug 2021 23:55:17 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b34414..8ed015a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,15 +127,24 @@ RUN apt-get install --no-install-recommends -y \ sqlite3 \ sudo \ unzip \ - vim-nox \ + vim-addon-manager \ vim-ctrlp \ vim-editorconfig \ + vim-nox \ wget \ whois \ zip RUN if [ "$PHP_VERSION" = "7.4" ] || [ "$PHP_VERSION" = "7.3" ] ; then apt install --no-install-recommends -y php"${PHP_VERSION}"-propro; fi +# COPY vim-setup.sh /usr/local/bin/vim-setup.sh + +# RUN chmod 755 /usr/local/bin/vim-setup.sh \ +# && /usr/local/bin/vim-setup.sh \ +# && rm /usr/local/bin/vim-setup.sh + +RUN vim-addon-manager -w install ctrlp editorconfig + RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/${USERNAME} \ && chmod 0440 /etc/sudoers.d/${USERNAME}