Commit 431b37f1 authored by Dave Lane's avatar Dave Lane
Browse files

working docker config, except for strange problem statting...

working docker config, except for strange problem statting /home/dave/Projects/docker/docker-mautic/data/mariadb/mysql
parent 1471f290
......@@ -6,7 +6,9 @@ MAINTAINER Dave Lane <dave@oerfoundation.org> (@lightweight)
RUN apt-get update && apt-get install -y libc-client-dev libicu-dev libkrb5-dev libmcrypt-dev libssl-dev unzip zip
RUN rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure imap --with-imap --with-imap-ssl --with-kerberos
RUN docker-php-ext-install imap intl mbstring mcrypt mysqli pdo pdo_mysql
RUN docker-php-ext-install imap intl mbstring mcrypt mysqli pdo pdo_mysql zip
# address Mautic-specific config requirements
RUN echo "always_populate_raw_post_data = -1" > /usr/local/etc/php-fpm.d/mautic.conf
VOLUME /var/www/html
......@@ -16,8 +18,8 @@ ENV MAUTIC_VERSION 2.6.0
# do a GitHub download
# Download package and extract to web volume
RUN curl -o mautic.zip -SL https://github.com/mautic/mautic/archive/${MAUTIC_VERSION}.zip \
&& mkdir /usr/src/mautic \
&& unzip mautic.zip -d /usr/src/mautic \
&& unzip mautic.zip -d /usr/src \
&& mv /usr/src/mautic-${MAUTIC_VERSION} /usr/src/mautic \
&& rm mautic.zip \
&& chown -R www-data:www-data /usr/src/mautic
......
......@@ -4,7 +4,6 @@ Docker Mautic Image
# Supported tags and respective `Dockerfile` links
- [`1.2.4-apache`, `1.2.4`, `1.2-apache`, `1.2`, `1-apache`, `apache`, `1`, `latest` (*apache/Dockerfile*)](https://github.com/mautic/docker-mautic/blob/master/apache/Dockerfile)
- [`1.2.4-fpm`, `1.1-fpm`, `1-fpm`, `fpm` (*fpm/Dockerfile*)](https://github.com/mautic/docker-mautic/blob/master/fpm/Dockerfile)
# License
......@@ -45,7 +44,7 @@ Example `docker-compose.yml` for `mautic`:
- mauticdb:mysql
ports:
- 8080:80
mauticdb:
image: mysql:5.6
environment:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment