Merge branch 'master' of ssh://git.rudin.io:10022/infra/pandorabox.io

master
root 2018-06-13 10:18:01 +02:00
commit bd07f98344
2 changed files with 27 additions and 0 deletions

19
docker/vanilla/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM php:7-apache
RUN a2enmod rewrite
RUN docker-php-ext-install pdo
RUN apt-get update \
&& apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libmemcached-dev \
libpng-dev \
sendmail \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd mbstring pdo pdo_mysql \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& pecl install memcached \
&& docker-php-ext-enable memcached

8
docker/vanilla/Makefile Normal file
View File

@ -0,0 +1,8 @@
TAG=registry.rudin.io/x86/vanilla-forum
build:
docker build . -t $(TAG)
push:
docker push $(TAG)