FROM debian:stretch MAINTAINER hirom@osdn.jp ENV PYLUCENE_DEB=python-lucene_4.10.1+osdn-1_amd64.deb # install basic packages RUN apt-get update -y RUN apt-get install -y vim-nox lv less # install mojolicious related packages RUN apt-get install -y libmojolicious-perl libjs-bootstrap libdbd-mysql libdbi-perl \ libdbd-mysql-perl libtemplate-perl node-less libcrypt-openssl-random-perl \ libemail-valid-perl tinymce libredis-perl libhtml-tidy-perl liburi-perl \ libyaml-perl libdatetime-format-mysql-perl libdatetime-format-iso8601-perl \ libxml-feed-perl libcarp-always-perl # install slash's dependency RUN apt-get install -y libdate-calc-perl libdatetime-perl liburi-perl libjson-perl \ libcache-memcached-fast-perl libdata-javascript-anon-perl libwww-perl # install python and lucene packages RUN apt-get install -y pylucene python-mysql.connector liblucene4.10-java libasm-java RUN apt-get install -y python-yaml # install custom pylucene package COPY files/$PYLUCENE_DEB /tmp RUN dpkg -i /tmp/$PYLUCENE_DEB COPY files/newslash.cnf /etc/mysql/conf.d/ EXPOSE 80