Skip to content

Commit

Permalink
Merge pull request tellapart#40 from amperity/master
Browse files Browse the repository at this point in the history
Dockerfile fixes for issues tellapart#38 and tellapart#39
  • Loading branch information
ThanosBaskous authored Jul 15, 2016
2 parents 993504c + 9f2b404 commit fcf2d68
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,27 @@ RUN apt-get update
# Install python prerequisites
RUN apt-get install -y python-pip python-dev build-essential

# Install go & libpcap
RUN apt-get install -y golang libpcap-dev
# Install libpcap
RUN apt-get install -y libpcap-dev

# Install go
RUN echo 'e40c36ae71756198478624ed1bb4ce17597b3c19d243f3f0899bb5740d56212a go1.6.2.linux-amd64.tar.gz' >go.sha256sum \
&& curl -s -L -o go1.6.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz \
&& sha256sum -c go.sha256sum \
&& tar -C /usr/local -xzf go1.6.2.linux-amd64.tar.gz

# Install gor
ENV PATH=$PATH:/usr/local/go/bin
ENV GOPATH=/opt/go
RUN mkdir -p $GOPATH \
&& go get github.com/buger/gor \
&& cd $GOPATH/src/github.com/buger/gor \
&& go build

# Aurora/Mesos requirements (see AURORA-1487)
RUN apt-get update \
&& apt-get install -y libcurl4-nss-dev libapr1-dev libsvn-dev

# Install nginx
ENV NGX_REQS openssl libssl1.0.0 libxml2 libxslt1.1 libgeoip1 libpcre3 zlib1g
RUN apt-get update \
Expand Down

0 comments on commit fcf2d68

Please sign in to comment.