mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
Improve tools in docker image
This commit is contained in:
parent
913a340ed4
commit
1aa4dd8113
1 changed files with 3 additions and 1 deletions
|
@ -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
|
COPY apt.list /etc/apt/sources.list.d/ldapsaisie.list
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
# Install dependencies
|
# 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
|
# Add fr_FR* locales
|
||||||
RUN sed -i 's/^# fr_FR/fr_FR/' /etc/locale.gen
|
RUN sed -i 's/^# fr_FR/fr_FR/' /etc/locale.gen
|
||||||
RUN locale-gen
|
RUN locale-gen
|
||||||
|
@ -28,6 +28,8 @@ RUN service apache2 restart
|
||||||
# Install ldapsaisie binary (with its bash-completion config)
|
# 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/src/bin/ldapsaisie.php /usr/local/sbin/ldapsaisie
|
||||||
RUN ln -s /var/www/ldapsaisie/debian/ldapsaisie.bash-completion /usr/share/bash-completion/completions/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
|
# Install entrypoint
|
||||||
COPY bashrc /root/.bashrc
|
COPY bashrc /root/.bashrc
|
||||||
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue