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 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 6000