-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2462 from influxdata/rem-386
chore: remove 386 darwin support and add arm64 darwin
- Loading branch information
Showing
5 changed files
with
75 additions
and
8 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,58 @@ | ||
FROM 32bit/ubuntu:16.04 | ||
|
||
# This dockerfile capabable of the the minumum required | ||
# to run the tests and nothing else. | ||
|
||
MAINTAINER support@influxdb.com | ||
|
||
RUN apt-get -qq update && apt-get -qq install -y \ | ||
wget \ | ||
unzip \ | ||
git \ | ||
mercurial \ | ||
build-essential \ | ||
autoconf \ | ||
automake \ | ||
libtool \ | ||
python \ | ||
python-setuptools \ | ||
python3 \ | ||
python3-setuptools \ | ||
zip \ | ||
curl | ||
|
||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 | ||
|
||
# Install protobuf3 protoc binary | ||
|
||
# Install protobuf3 protoc binary | ||
ENV PROTO_VERSION 3.11.1 | ||
RUN wget -q https://github.com/google/protobuf/releases/download/v${PROTO_VERSION}/protoc-${PROTO_VERSION}-linux-x86_32.zip\ | ||
&& unzip -j protoc-${PROTO_VERSION}-linux-x86_32.zip bin/protoc -d /bin \ | ||
rm protoc-${PROTO_VERSION}-linux-x86_64.zip | ||
|
||
# Install protobuf3 python library | ||
RUN wget -q https://github.com/google/protobuf/releases/download/v${PROTO_VERSION}/protobuf-python-${PROTO_VERSION}.tar.gz \ | ||
&& tar -xf protobuf-python-${PROTO_VERSION}.tar.gz \ | ||
&& cd /protobuf-${PROTO_VERSION}/python \ | ||
&& python2 setup.py install \ | ||
&& python3 setup.py install \ | ||
&& rm -rf /protobuf-${PROTO_VERSION} protobuf-python-${PROTO_VERSION}.tar.gz | ||
|
||
# Install go | ||
ENV GOPATH /root/go | ||
ENV GO_VERSION 1.15.5 | ||
ENV GO_ARCH 386 | ||
RUN wget -q 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/kapacitor | ||
ENV PATH $GOPATH/bin:$PATH | ||
RUN mkdir -p $PROJECT_DIR | ||
WORKDIR $PROJECT_DIR | ||
|
||
VOLUME $PROJECT_DIR | ||
|
||
ENTRYPOINT [ "/root/go/src/github.com/influxdata/kapacitor/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