From 1aa4dd811357d05752ebc12c0a3ea435ef396777 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 17 Jun 2022 12:40:08 +0200 Subject: [PATCH] Improve tools in docker image --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 33f1fb7e..2b9492c7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,7 @@ RUN wget -O - http://ldapsaisie.org/debian/ldapsaisie.gpg.key | apt-key add - COPY apt.list /etc/apt/sources.list.d/ldapsaisie.list RUN apt-get update # Install dependencies -RUN DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y git slapd apache2 php-ldap libapache2-mod-php php-cli smarty3 php-net-ldap2 php-net-ftp php-mail php-mail-mime php-console-table ldapvi locales sed bash-completion liquidprompt vim curl jq +RUN DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install -y git slapd apache2 php-ldap libapache2-mod-php php-cli smarty3 php-net-ldap2 php-net-ftp php-mail php-mail-mime php-console-table ldapvi locales sed bash-completion liquidprompt vim curl jq iproute2 net-tools # Add fr_FR* locales RUN sed -i 's/^# fr_FR/fr_FR/' /etc/locale.gen RUN locale-gen @@ -28,6 +28,8 @@ RUN service apache2 restart # Install ldapsaisie binary (with its bash-completion config) RUN ln -s /var/www/ldapsaisie/src/bin/ldapsaisie.php /usr/local/sbin/ldapsaisie RUN ln -s /var/www/ldapsaisie/debian/ldapsaisie.bash-completion /usr/share/bash-completion/completions/ldapsaisie +# Install vimrc.local file +COPY vimrc.local /etc/vim/vimrc.local # Install entrypoint COPY bashrc /root/.bashrc COPY entrypoint.sh /usr/local/sbin/entrypoint.sh