Updated ubuntu base image to 16.04

master
Raghd Hamzeh 7 years ago
parent 2045ba7e50
commit 29f9a9bf98
  1. 6
      Dockerfile
  2. 2
      dokuwiki.conf

@ -5,20 +5,20 @@
# TO_RUN: docker run -d -p 80:80 --name my_wiki mprasil/dokuwiki # TO_RUN: docker run -d -p 80:80 --name my_wiki mprasil/dokuwiki
FROM ubuntu:14.04 FROM ubuntu:16.04
MAINTAINER Miroslav Prasil <miroslav@prasil.info> MAINTAINER Miroslav Prasil <miroslav@prasil.info>
# Set the version you want of Twiki # Set the version you want of Twiki
ENV DOKUWIKI_VERSION 2017-02-19b ENV DOKUWIKI_VERSION 2017-02-19b
ENV DOKUWIKI_CSUM ea11e4046319710a2bc6fdf58b5cda86 ENV DOKUWIKI_CSUM ea11e4046319710a2bc6fdf58b5cda86
ENV LAST_REFRESHED 12. August 2016 ENV LAST_REFRESHED 25. October 2017
# Update & install packages & cleanup afterwards # Update & install packages & cleanup afterwards
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && \ apt-get update && \
apt-get -y upgrade && \ apt-get -y upgrade && \
apt-get -y install wget lighttpd php5-cgi php5-gd php5-ldap php5-curl && \ apt-get -y install wget lighttpd php-cgi php-gd php-ldap php-curl && \
apt-get clean autoclean && \ apt-get clean autoclean && \
apt-get autoremove && \ apt-get autoremove && \
rm -rf /var/lib/{apt,dpkg,cache,log} rm -rf /var/lib/{apt,dpkg,cache,log}

@ -6,7 +6,7 @@ fastcgi.server = ( ".php" =>
( "localhost" => ( "localhost" =>
( (
"socket" => "/var/run/lighttpd/php-fastcgi.socket", "socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi", "bin-path" => "/usr/bin/php-cgi",
"allow-x-send-file" => "enable" "allow-x-send-file" => "enable"
) )
) )

Loading…
Cancel
Save