Created
December 1, 2013 22:47
-
-
Save kevinswiber/7741851 to your computer and use it in GitHub Desktop.
Dockerfiles for running Logplex in a container.
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
| FROM ubuntu | |
| MAINTAINER Kevin Swiber <kswiber@gmail.com> | |
| RUN apt-get install -y build-essential libncurses5-dev openssl libssl-dev fop xsltproc unixodbc-dev wget | |
| RUN mkdir /tmp/erlang && cd /tmp/erlang | |
| RUN wget http://erlang.org/download/otp_src_R16B02.tar.gz && \ | |
| tar zxvf otp_src_R16B02.tar.gz && \ | |
| cd otp_src_R16B02 && \ | |
| ./configure && make && make install |
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
| FROM erlang-r16b02 | |
| MAINTAINER Kevin Swiber <kswiber@gmail.com> | |
| RUN apt-get update | |
| RUN apt-get install -y wget git | |
| RUN wget -qO /tmp/logplex.tar.gz http://github.com/heroku/logplex/tarball/master && \ | |
| tar -zxvf /tmp/logplex.tar.gz --transform="s/^heroku-logplex-[^\/]*/logplex/" -C / | |
| RUN cd /logplex && \ | |
| ./rebar --config public.rebar.config get-deps compile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment