Public | Automated Build

Last pushed: 2 hours ago
Dockerfile
FROM ubuntu:16.04 MAINTAINER Peter Mescalchin <peter@magnetikonline.com> ENV W3C_VALIDATOR_SHA1 5356e4a222b02953078ff9c710e290ae52cd57b2 ENV VNU_VALIDATOR_VERSION 17.11.1 RUN apt-get update && apt-get upgrade --yes && \ apt-get install --yes \ apache2 build-essential \ libapache2-mod-perl2 libhtml-tidy-perl libosp-dev libxml-libxml-perl libxml2-dev \ openjdk-8-jre-headless opensp supervisor unzip zlib1g-dev && \ apt-get clean ADD ./resource/apache.server.conf /etc/apache2/conf-available/server.conf ADD ./resource/supervisord.conf /etc/supervisor/conf.d/ ADD https://github.com/w3c/markup-validator/archive/$W3C_VALIDATOR_SHA1.zip /root/build/markup-validator-$W3C_VALIDATOR_SHA1.zip ADD https://github.com/validator/validator/releases/download/$VNU_VALIDATOR_VERSION/vnu.jar_$VNU_VALIDATOR_VERSION.zip /root/build/ ADD ./resource/configure.sh /root/build/ WORKDIR /root/build RUN chmod u+x configure.sh RUN ./configure.sh $W3C_VALIDATOR_SHA1 $VNU_VALIDATOR_VERSION EXPOSE 80 CMD ["/usr/bin/supervisord","-c","/etc/supervisor/supervisord.conf"]