forked from influxdata/kapacitor
-
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.
Build updates. Can now build packages and binaries via build.py
- Loading branch information
1 parent
65cbe9d
commit 8795327
Showing
33 changed files
with
969 additions
and
165 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This Dockerfile provides the needed environment to build Kapacitor. | ||
FROM ubuntu:trusty | ||
|
||
MAINTAINER [email protected] | ||
|
||
# Install deps | ||
RUN apt-get update | ||
RUN apt-get install -y \ | ||
make \ | ||
wget \ | ||
git \ | ||
mercurial \ | ||
ruby \ | ||
ruby-dev \ | ||
rpm \ | ||
zip \ | ||
python | ||
RUN gem install fpm | ||
|
||
# Install go | ||
RUN wget https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz; tar -C /usr/local/ -xf /go1.5.1.linux-amd64.tar.gz ; rm /go1.5.1.linux-amd64.tar.gz | ||
ENV PATH $PATH:/usr/local/go/bin | ||
ENV GOPATH /gopath | ||
ENV PROJECT_PATH $GOPATH/src/github.com/influxdb/kapacitor | ||
RUN mkdir -p $PROJECT_PATH | ||
|
||
WORKDIR $PROJECT_PATH | ||
ENTRYPOINT ["/usr/local/bin/build"] | ||
CMD [] | ||
|
||
ADD ./build.py /usr/local/bin/build |
Oops, something went wrong.