view Dockerfile @ 175:c1ef37551c31 tip

Remove static remains of former news feed and cleanup CSS
author Tom Gottfried <>
date Fri, 16 Nov 2018 16:16:37 +0100
parents 0a5765c5f40d
line wrap: on
line source
FROM httpd:2.4
LABEL authors=""

RUN apt-get update && apt-get install -y curl unzip

# Allow directives in .htaccess
RUN sed -i '/include_module/s/^#//' conf/httpd.conf
# Actually only needed in <Directory "/usr/local/apache2/htdocs">, but for
# simplicity done in all places here (don't do this in real life!):
RUN sed -i '/AllowOverride/s/None/Options FileInfo/' conf/httpd.conf

WORKDIR htdocs

# Download JavaScript dependencies
RUN mkdir bootstrap &&\
    cd bootstrap &&\
    curl -fLO "" &&\
    echo "77d72e99f947113cd55149900a736bd2c2cbec175ace6dd33c1b3d3fc51cbf81" |\
    sha256sum -c &&\
    unzip &&\
    mv bootstrap-3.1.1-dist dist

RUN mkdir jquery &&\
    curl -f -o jquery/jquery.min.js &&\
    echo "b294e973896f8f874e90a8eb1a8908ac790980d034c4c4bdf0fc3d37b8abf682  jquery/jquery.min.js" |\
    sha256sum -c

COPY *.html .htaccess ./
COPY css ./css/
COPY img ./img/
COPY js ./js/

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)