Skip to content

Commit

Permalink
remove build dependencies after finish building twemproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tuananh committed Apr 14, 2017
1 parent a10c724 commit e060aae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.DS_Store
# Logs
logs
*.log
Expand Down
2 changes: 2 additions & 0 deletions twemproxy/Dockerfile
Expand Up @@ -14,6 +14,8 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN curl -qL https://github.com/twitter/twemproxy/archive/v0.4.1.tar.gz | tar xzf -
RUN cd twemproxy-0.4.1 && autoreconf -fvi && ./configure --enable-debug=log && make && make install

RUN apt-get remove make automake curl

EXPOSE 22121

CMD ["/usr/bin/supervisord"]

0 comments on commit e060aae

Please sign in to comment.