Skip to content

Instantly share code, notes, and snippets.

@kiyoto
Forked from repeatedly/Dockerfile
Created February 19, 2014 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiyoto/9094827 to your computer and use it in GitHub Desktop.
Save kiyoto/9094827 to your computer and use it in GitHub Desktop.
FROM base
MAINTAINER repeatedly "https://github.com/repeatedly"
RUN apt-get install -y --force-yes curl
RUN curl -L http://toolbelt.treasuredata.com/sh/install-ubuntu-precise.sh | sh
RUN sed -i 's/ulimit/# ulimit/g' /etc/init.d/td-agent
RUN echo "ulimit -n 8192" >> /etc/default/td-agent
EXPOSE 8888
EXPOSE 24224
CMD ["/etc/init.d/td-agent", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment