forked from livegrep/livegrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (16 loc) · 842 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:trusty
MAINTAINER Nelson Elhage <[email protected]>
RUN apt-get update
RUN apt-get -y install python-software-properties
RUN sh -c 'echo deb http://us.archive.ubuntu.com/ubuntu/ precise universe > /etc/apt/sources.list.d/universe.list'
RUN apt-get update
RUN apt-get -y install libjson0-dev libgflags-dev libgit2-dev libboost-dev libsparsehash-dev nodejs build-essential libgoogle-perftools-dev libssl-dev
RUN apt-get -y install libboost-filesystem-dev libboost-system-dev
RUN apt-get -y install golang
RUN apt-get -y install mercurial git
RUN git clone https://github.com/livegrep/livegrep /livegrep
WORKDIR /livegrep
RUN make -j4 all
RUN mkdir -p gopath/src/github.com/nelhage
RUN ln -s /livegrep gopath/src/github.com/livegrep/livegrep
RUN sh -c 'env GOPATH=/livegrep/gopath go get github.com/livegrep/livegrep/livegrep'