FROM startx/sv-php MAINTAINER Christophe LARUE RUN cd $APP_PATH && \ wget -q https://files.phpmyadmin.net/phpMyAdmin/4.5.2/phpMyAdmin-4.5.2-all-languages.zip && \ unzip phpMyAdmin-4.5.2-all-languages.zip && \ rm -f phpMyAdmin-4.5.2-all-languages.zip && \ mv phpMyAdmin-4.5.2-all-languages/* ./ && \ rm -rf phpMyAdmin-4.5.2-all-languages && \ mkdir /etc/httpd/logs &> /dev/null && \ chown -R apache:apache /etc/httpd/logs &> /dev/null COPY config.inc.php $APP_PATH/config.inc.php COPY test.php $APP_PATH/test.php EXPOSE 80 443 VOLUME [$DATA_PATH,$LOG_PATH] CMD ["/bin/run.sh"]