-
-
Save asenchi/7e706d8af43f5b4496ef to your computer and use it in GitHub Desktop.
This file contains 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:14.04 | |
MAINTAINER Chance Zibolski <chance.zibolski@gmail.com> (@chance) | |
RUN apt-get update && \ | |
apt-get install -yq --no-install-recommends \ | |
build-essential \ | |
bzr \ | |
ca-certificates \ | |
cmake \ | |
curl \ | |
git \ | |
golang-goprotobuf-dev\ | |
make \ | |
mercurial \ | |
patch \ | |
ruby-dev \ | |
protobuf-compiler \ | |
python-sphinx | |
# Install Go 1.3 | |
RUN curl -s https://storage.googleapis.com/golang/go1.3.linux-amd64.tar.gz | tar -v -C /usr/local -xz | |
ENV GOROOT /usr/local/go | |
ENV PATH $PATH:/usr/local/go/bin:/go/bin | |
ENV CTEST_OUTPUT_ON_FAILURE 1 | |
ENV BUILD_DIR /heka/build | |
ENV GOPATH $BUILD_DIR/heka | |
ENV GOBIN $GOPATH/bin | |
ENV PATH $PATH:$GOBIN | |
WORKDIR /heka | |
EXPOSE 4352 | |
# Default to running hekad | |
ENTRYPOINT ["hekad"] | |
ADD . /heka | |
RUN ./build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment