forked from influxdata/influxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ubuntu:trusty | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
python-software-properties \ | ||
software-properties-common \ | ||
wget \ | ||
git \ | ||
mercurial \ | ||
make \ | ||
ruby \ | ||
ruby-dev \ | ||
rpm \ | ||
zip \ | ||
python \ | ||
python-boto \ | ||
asciidoc \ | ||
xmlto \ | ||
docbook-xsl | ||
|
||
RUN gem install fpm | ||
|
||
# Install go | ||
ENV GOPATH /root/go | ||
ENV GO_VERSION 1.9beta2 | ||
ENV GO_ARCH amd64 | ||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \ | ||
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \ | ||
rm /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz | ||
ENV PATH /usr/local/go/bin:$PATH | ||
|
||
ENV PROJECT_DIR $GOPATH/src/github.com/influxdata/influxdb | ||
ENV PATH $GOPATH/bin:$PATH | ||
RUN mkdir -p $PROJECT_DIR | ||
WORKDIR $PROJECT_DIR | ||
|
||
VOLUME $PROJECT_DIR | ||
|
||
ENTRYPOINT [ "/root/go/src/github.com/influxdata/influxdb/build.py" ] |
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
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