Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Dockerfile fixes for issues #38 and #39 #40

Merged
merged 2 commits into from
Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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