-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(influxdb): backport modules support to 1.7.x
- Loading branch information
Showing
15 changed files
with
676 additions
and
1,587 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,41 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
python-software-properties \ | ||
software-properties-common \ | ||
wget \ | ||
git \ | ||
mercurial \ | ||
make \ | ||
ruby \ | ||
ruby-dev \ | ||
autoconf \ | ||
libtool \ | ||
build-essential \ | ||
rpm \ | ||
zip \ | ||
python \ | ||
python-boto \ | ||
asciidoc \ | ||
xmlto \ | ||
docbook-xsl | ||
|
||
RUN gem install fpm | ||
|
||
# setup environment | ||
ENV GO_VERSION 1.12 | ||
ENV GOARCH amd64 | ||
ENV GOROOT /usr/local/go | ||
ENV GOPATH /root/go | ||
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH | ||
ENV PROJECT_DIR /root/influxdb | ||
|
||
# install go | ||
RUN wget --no-verbose https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GOARCH}.tar.gz -O- | tar -C /usr/local/ -zxf- | ||
|
||
RUN mkdir -p $PROJECT_DIR | ||
|
||
WORKDIR $PROJECT_DIR | ||
VOLUME $PROJECT_DIR | ||
|
||
ENTRYPOINT [ "/root/influxdb/build.py" ] |
Oops, something went wrong.