This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you don‘t want to build it youself, you can try `docker pull killercai/postgres`. | |
| FROM healthcheck/postgres:latest | |
| # China debian mirror | |
| RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list | |
| RUN apt-get clean && apt-get update | |
| RUN apt-get install -y wget git build-essential libpq-dev python-dev postgresql-server-dev-all | |
| # SCWS (Simple Chinese Word Segmentation library) | |
| RUN cd /tmp && wget -q -O - http://www.xunsearch.com/scws/down/scws-1.2.1.tar.bz2 | tar xjf - && cd scws-1.2.1 && ./configure && make install | |
| # zhpaser (postgres plugin) |