piwigo/Dockerfile
2015-10-07 17:17:54 +01:00

41 lines
665 B
Docker
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM linuxserver/baseimage.apache
MAINTAINER sparklyballs <sparklyballs@linuxserver.io>
# set install packages as variable
ENV APTLIST="curl \
lynx-cur \
php5-cgi \
php5-gd \
php5-imagick \
php5-mysql \
php5-xmlrpc \
php5-xsl \
php5-apcu \
php-auth \
php-auth-sasl \
php-net-smtp \
php-pear \
unzip \
wget"
# install packages
RUN apt-get update && \
apt-get install $APTLIST -qy && \
# cleanup
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# add some files
ADD defaults/ /defaults/
ADD init/ /etc/my_init.d/
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
# expose ports
EXPOSE 80 443
# set volumes
VOLUME /config /pictures