Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 667 Bytes
FROM php:7.2-apache
RUN apt update \
&& apt -y install bash git ssh libmcrypt-dev openssl libsodium-dev libgmp-dev libgmp3-dev \
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \
&& docker-php-ext-install -j$(nproc) gmp \
&& pecl install mcrypt-1.0.1 \
&& docker-php-ext-enable mcrypt \
&& pecl install libsodium \
&& docker-php-ext-enable sodium \
&& git clone https://github.com/respawner/looking-glass.git --branch master --single-branch /var/www/html/ \
&& apt purge -y --auto-remove git \
&& mkdir -p /var/log/ \
&& touch /var/log/looking-glass.log \
&& chown www-data /var/log/looking-glass.log
You can’t perform that action at this time.