Commit f9a788de authored by Seblu's avatar Seblu
Browse files

Report curl download errors

parent c8c0e3f9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ RUN apt-get update \
 && sed -i 's/^ServerSignature .*/ServerSignature Off/' /etc/apache2/conf-available/security.conf \
 && sed -i 's/^ServerTokens .*/ServerTokens Minimal/' /etc/apache2/conf-available/security.conf \
 && install -d -m 755 /usr/share/dokuwiki \
 && curl -sL $DOKUWIKI_URL -o /usr/share/dokuwiki/dokuwiki.tgz \
 && echo "Download URL: $DOKUWIKI_URL" \
 && curl -fSL "$DOKUWIKI_URL" -o /usr/share/dokuwiki/dokuwiki.tgz \
 && install -d -m 750 -o www-data -g www-data /var/www/html

COPY entrypoint.sh /usr/local/bin