Skip to content

Commit

Permalink
fixed #983
Browse files Browse the repository at this point in the history
新版ssdb编译需要安装autoconf,所以Dockerfile要适配一下
  • Loading branch information
wendal committed Sep 20, 2016
1 parent 921e5bf commit 0470adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -5,10 +5,10 @@ MAINTAINER wendal "wendal1985@gmail.com"
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y --force-yes git make gcc g++ && apt-get clean && \
apt-get install -y --force-yes git make gcc g++ autoconf && apt-get clean && \
git clone --depth 1 https://github.com/ideawu/ssdb.git ssdb && \
cd ssdb && make && make install && cp ssdb-server /usr/bin && \
apt-get remove -y --force-yes git make gcc g++ && \
apt-get remove -y --force-yes git make gcc g++ autoconf && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
cp ssdb.conf /etc && cd .. && yes | rm -r ssdb
Expand All @@ -27,4 +27,4 @@ RUN mkdir -p /var/lib/ssdb && \
ENV TZ Asia/Shanghai
EXPOSE 8888
VOLUME /var/lib/ssdb
ENTRYPOINT /usr/bin/ssdb-server /etc/ssdb.conf
ENTRYPOINT /usr/bin/ssdb-server /etc/ssdb.conf

0 comments on commit 0470adf

Please sign in to comment.