Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
madalinignisca authored Aug 27, 2021
1 parent aac81e9 commit 996e4c5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 996e4c5

Please sign in to comment.