Skip to content
Permalink
Browse files

Fix Dockerfile.

  • Loading branch information...
respawner committed Jan 17, 2019
1 parent 56fc136 commit a5442fd82266a5d2ba541d162a1d70fa2ca6bb26
Showing with 14 additions and 15 deletions.
  1. +14 −15 Dockerfile
@@ -1,16 +1,15 @@
FROM php7.2:apache
MAINTAINER Guillaume Mazoyer <gmazoyer@gravitons.in>
FROM php:7.2-apache

RUN apt update
RUN 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
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

0 comments on commit a5442fd

Please sign in to comment.
You can’t perform that action at this time.