OSDN Git Service

template add rss and system template
[newslash/newslash.git] / test-container / Dockerfile
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 mojolicious related packages
11 RUN apt-get install -y libmojolicious-perl libjs-bootstrap libdbd-mysql libdbi-perl \
12     libdbd-mysql-perl libtemplate-perl node-less libcrypt-openssl-random-perl \
13     libemail-valid-perl tinymce libredis-perl libhtml-tidy-perl liburi-perl \
14     libyaml-perl libdatetime-format-mysql-perl libdatetime-format-iso8601-perl \
15     libxml-feed-perl libcarp-always-perl libcrypt-eksblowfish-perl \
16     libemail-sender-perl
17
18 # install slash's dependency
19 RUN apt-get install -y libdate-calc-perl libdatetime-perl liburi-perl libjson-perl \
20     libcache-memcached-fast-perl libdata-javascript-anon-perl libwww-perl
21
22 # install python and lucene packages
23 #RUN apt-get install -y pylucene python-mysql.connector liblucene4.10-java libasm-java
24 #RUN apt-get install -y python-yaml
25
26 # for develop
27 RUN apt-get install -y libdevel-nytprof-perl
28
29 # install custom pylucene package
30 #COPY files/$PYLUCENE_DEB /tmp
31 #RUN dpkg -i /tmp/$PYLUCENE_DEB
32
33 COPY files/newslash.cnf /etc/mysql/conf.d/
34 EXPOSE 80
35