alpine-php7/Dockerfile

25 lines
1.1 KiB
Docker
Raw Normal View History

2019-09-25 13:49:21 +02:00
FROM alpine:3.10
MAINTAINER Harm Vos <p.h.vos@rug.nl>
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"]