Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
FROM php:8.0-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/gmazoyer/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