mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
12 lines
303 B
Docker
12 lines
303 B
Docker
FROM ubuntu:14.04
|
|
MAINTAINER yanyiwu <i@yanyiwu.com>
|
|
RUN apt-get update
|
|
RUN apt-get install -y g++ cmake git
|
|
RUN git clone https://github.com/yanyiwu/cppjieba.git
|
|
RUN mkdir cppjieba/build
|
|
WORKDIR /cppjieba/build
|
|
RUN cmake ..
|
|
RUN make
|
|
EXPOSE 11200
|
|
CMD ["./bin/cjserver", "../test/testdata/server.conf"]
|