comparison docker/base/Dockerfile @ 119:5d2eb2f61dc8

docker (base): Twisted and Wokkel are now installed with pip instead of apt, as Jessie version is too old for SàT
author Goffi <goffi@goffi.org>
date Tue, 08 Mar 2016 18:36:14 +0100
parents 834bedf42332
children
comparison
equal deleted inserted replaced
118:12cb931dbea0 119:5d2eb2f61dc8
40 addgroup tls-cert --gid 9999 && \ 40 addgroup tls-cert --gid 9999 && \
41 chown :tls-cert /usr/share/sat/certificates && \ 41 chown :tls-cert /usr/share/sat/certificates && \
42 chmod 2770 /usr/share/sat/certificates && \ 42 chmod 2770 /usr/share/sat/certificates && \
43 adduser sat tls-cert 43 adduser sat tls-cert
44 44
45 RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends locales dbus-x11 python python-gobject-2 python-dbus python-lxml python-mutagen python-pil python-crypto python-feed python-potr python-twisted-core python-twisted-mail python-twisted-web python-twisted-words python-wokkel python-xdg python-xe python-zope.interface python-gi python-urwid python-markdown python-html2text mercurial python-pip && apt-get clean && \ 45 RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends locales dbus-x11 python python-gobject-2 python-dbus python-lxml python-mutagen python-pil python-crypto python-feed python-potr python-xdg python-xe python-zope.interface python-gi python-urwid python-markdown python-html2text mercurial python-pip python-openssl python-service-identity gcc python-dev && \
46
47 # we install Twisted from pip as Jessie version is too old
48 pip install twisted wokkel pyOpenSSL && \
49
50 # we remove stuff only needed to build Twisted
51 # and clean what we can
52 apt-get purge -y gcc python-dev && \
53 apt-get autoremove -y && apt-get clean && \
46 54
47 # dokuwiki module is needed for the blog importer 55 # dokuwiki module is needed for the blog importer
48
49 pip install dokuwiki && \ 56 pip install dokuwiki && \
50 57
51 # we need a TCP socket for D-Bus 58 # we need a TCP socket for D-Bus
52 sed -i "s&<listen>unix:tmpdir=/tmp</listen>&\0\n <listen>tcp:host=localhost,bind=*,port=55555,family=ipv4</listen>\n <auth>ANONYMOUS</auth>\n <allow_anonymous/>&" /etc/dbus-1/session.conf && \ 59 sed -i "s&<listen>unix:tmpdir=/tmp</listen>&\0\n <listen>tcp:host=localhost,bind=*,port=55555,family=ipv4</listen>\n <auth>ANONYMOUS</auth>\n <allow_anonymous/>&" /etc/dbus-1/session.conf && \
53 60