OSDN Git Service

test-container: merge svc settings to k8s-ns-searchd.yaml
[newslash/newslash.git] / test-container / Dockerfile_for_searchd
1 FROM debian:stretch
2 MAINTAINER hirom@osdn.jp
3
4 ENV PYLUCENE_DEB=python-lucene_4.10.1+osdn-1_amd64.deb
5
6 # install basic packages
7 RUN apt-get update -y
8 RUN apt-get install -y vim-nox lv less 
9
10 # install python and lucene packages
11 RUN apt-get install -y pylucene python-mysql.connector liblucene4.10-java libasm-java
12 RUN apt-get install -y python-yaml
13
14 # install custom pylucene package
15 COPY files/$PYLUCENE_DEB /tmp
16 RUN dpkg -i /tmp/$PYLUCENE_DEB
17
18 COPY files/newslash.cnf /etc/mysql/conf.d/
19 EXPOSE 6000
20