php-apache-rsvg/Dockerfile

17 lines
373 B
Text
Raw Normal View History

FROM webdevops/php-apache:7.4
# want rsvg support too
RUN apt-get update
2020-07-20 17:30:38 +02:00
RUN apt-get install -y librsvg2-bin
# enable postfix to be able to send mails
CMD ["/opt/docker/bin/usr-bin/docker-service-enable", "postfix"]
CMD ["mkfifo", "/var/spool/postfix/public/pickup"]
RUN service postfix restart
#restart apache
RUN service apache2 restart
# export ports
EXPOSE 80 443