Docker image alpine php7
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

28 lines
1.2 KiB

FROM alpine:3.10
MAINTAINER Harm Vos <p.h.vos@rug.nl>
LABEL "vendor"="RUG"
LABEL "vendor.url"="http://www.rug.nl/"
LABEL "maintainer"="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 ["-D","FOREGROUND"]
ENTRYPOINT ["/usr/sbin/httpd"]