commit 5c97819cdbf6030ff24e7ee48721a8cc5242b78c Author: Harm Vos Date: Wed Sep 25 13:49:21 2019 +0200 first commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3f9910b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +FROM alpine:3.10 +MAINTAINER Harm Vos + +RUN apk update && \ + apk upgrade && \ + apk add --no-cache apache2 apache2-utils php7-apache2 curl php7-cli php7-fpm php7-json php7-phar php7-openssl php7-xmlreader \ + php7-pdo php7-soap php7-xmlrpc php7-posix php7-mcrypt php7-gettext php7-ldap php7-ctype php7-dom php7-imap php7-intl php7-gd php7-exif php7-imagick php7-bcmath ghostscript perl-image-exiftool \ + php7-pdo_mysql php7-xml php7-mysqli php7-pgsql php7-pdo_pgsql php7-curl php7-iconv php7-zip php7-zlib php7-calendar php7-odbc php7-pdo php7-session php7-simplexml php7-opcache openssl libldap apk-cron \ + ssmtp tzdata exiftool logrotate ca-certificates imagemagick libssh2 php7-cli joe bash php7-fileinfo php7-pear-mail_mime php7-pear-mdb2_driver_mysql php7-mbstring php7-session php7-tokenizer supervisor heirloom-mailx php7-xmlwriter ffmpeg + +# Set timezone +RUN cp /usr/share/zoneinfo/CET /etc/localtime && \ + echo "Europe/Amsterdam" > /etc/timezone + +ENV LANG=en_US.UTF-8 \ + LC_ALL=en_US.UTF-8 \ + APPLICATION_VERSION 4.0.26 + +EXPOSE 80 + +WORKDIR /var/www + +CMD ["/usr/sbin/httpd" "-D" "FOREGROUND"] +