Skip to content

Instantly share code, notes, and snippets.

@asenchi
Forked from chancez/Dockerfile
Created August 1, 2014 18:09
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 asenchi/7e706d8af43f5b4496ef to your computer and use it in GitHub Desktop.
Save asenchi/7e706d8af43f5b4496ef to your computer and use it in GitHub Desktop.
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