-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. upgrade bazel to 4.2.2 2. support clang-7.0.1 3. support gcc-8.3.0 4. test in debian10 5. dockerfile can be used to make an image of the build environment add patch: 1. apache/brpc@6efb0cf 2. apache/brpc@3a928dd
- Loading branch information
1 parent
fccfc6c
commit 8891afb
Showing
67 changed files
with
1,109 additions
and
66 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,5 @@ | ||
build --define=with_glog=true --define=libunwind=true | ||
build --copt -DHAVE_ZLIB=1 --copt -DGFLAGS_NS=google --copt -DUSE_BTHREAD_MUTEX | ||
build --cxxopt -Wno-error=format-security | ||
build:gcc7-later --cxxopt -faligned-new | ||
build --incompatible_blacklisted_protos_requires_proto_info=false |
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.17.2 | ||
4.2.2 |
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
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,8 @@ | ||
FROM opencurvedocker/curve-base:debian10 | ||
ENV TZ=Asia/Shanghai | ||
RUN mkdir -p /curvefs /etc/curvefs /core | ||
COPY curvefs /curvefs | ||
COPY entrypoint.sh / | ||
COPY curvefs/tools/sbin/curvefs_tool /usr/bin | ||
RUN chmod a+x /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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,36 @@ | ||
FROM debian:10 | ||
|
||
RUN echo "deb http://mirrors.163.com/debian/ buster main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ buster-updates main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ buster-backports main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n" \ | ||
> /etc/apt/sources.list \ | ||
&& apt-get clean \ | ||
&& apt-get -y update \ | ||
&& apt-get -y install \ | ||
gcc \ | ||
gdb \ | ||
make \ | ||
openssl \ | ||
net-tools \ | ||
libcurl3-gnutls \ | ||
perl \ | ||
linux-perf \ | ||
vim \ | ||
curl \ | ||
cron \ | ||
procps \ | ||
lsof \ | ||
nginx \ | ||
less \ | ||
fuse3 \ | ||
libnl-3-200 \ | ||
libnl-genl-3-200 \ | ||
libjemalloc2 \ | ||
&& ln -s /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so | ||
|
||
COPY libetcdclient.so /usr/lib/ |
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,4 @@ | ||
.PHONY: build | ||
|
||
build: | ||
docker build -t opencurvedocker/curve-base:debian10 . |
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,36 @@ | ||
FROM debian:10 | ||
|
||
RUN echo "deb http://mirrors.163.com/debian/ buster main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ buster-updates main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ buster-backports main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n" \ | ||
> /etc/apt/sources.list \ | ||
&& apt-get clean \ | ||
&& apt-get -y update \ | ||
&& apt-get -y install \ | ||
wget \ | ||
git \ | ||
gcc \ | ||
g++ \ | ||
clang \ | ||
libssl-dev \ | ||
libnl-genl-3-dev \ | ||
libcurl4-gnutls-dev \ | ||
uuid-dev \ | ||
libfiu-dev \ | ||
libfuse3-dev \ | ||
zlib1g-dev \ | ||
make \ | ||
openjdk-11-jdk \ | ||
sudo \ | ||
&& wget https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64 \ | ||
&& mv bazelisk-linux-amd64 /usr/bin/bazelisk \ | ||
&& ln -s /usr/bin/bazelisk /usr/bin/bazel \ | ||
&& wget https://github.com/bazelbuild/bazel/releases/download/4.2.2/bazel-4.2.2-linux-x86_64 \ | ||
&& mkdir -p /root/.cache/bazelisk/downloads/bazelbuild/bazel-4.2.2-linux-x86_64/bin \ | ||
&& mv bazel-4.2.2-linux-x86_64 /root/.cache/bazelisk/downloads/bazelbuild/bazel-4.2.2-linux-x86_64/bin/bazel \ | ||
&& chmod +x /root/.cache/bazelisk/downloads/bazelbuild/bazel-4.2.2-linux-x86_64/bin/bazel /usr/bin/bazel /usr/bin/bazelisk |
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,4 @@ | ||
.PHONY: build | ||
|
||
build: | ||
docker build -t opencurvedocker/curve-base:build-debian10 . |
File renamed without changes.
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,8 @@ | ||
FROM opencurvedocker/curve-base:debian11 | ||
ENV TZ=Asia/Shanghai | ||
RUN mkdir -p /curvefs /etc/curvefs /core | ||
COPY curvefs /curvefs | ||
COPY entrypoint.sh / | ||
COPY curvefs/tools/sbin/curvefs_tool /usr/bin | ||
RUN chmod a+x /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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,36 @@ | ||
FROM debian:11 | ||
|
||
RUN echo "deb http://mirrors.163.com/debian/ bullseye main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ bullseye-updates main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian/ bullseye-backports main non-free contrib\n" \ | ||
"deb http://mirrors.163.com/debian-security/ stable-security main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ bullseye main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ bullseye-updates main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian/ bullseye-backports main non-free contrib\n" \ | ||
"deb-src http://mirrors.163.com/debian-security/ stable-security main non-free contrib\n" \ | ||
> /etc/apt/sources.list \ | ||
&& apt-get clean \ | ||
&& apt-get -y update \ | ||
&& apt-get -y install \ | ||
gcc \ | ||
gdb \ | ||
make \ | ||
openssl \ | ||
net-tools \ | ||
libcurl3-gnutls \ | ||
perl \ | ||
linux-perf \ | ||
vim \ | ||
curl \ | ||
cron \ | ||
procps \ | ||
lsof \ | ||
nginx \ | ||
less \ | ||
fuse3 \ | ||
libnl-3-200 \ | ||
libnl-genl-3-200 \ | ||
libjemalloc2 \ | ||
&& ln -s /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so | ||
|
||
COPY libetcdclient.so /usr/lib/ |
Oops, something went wrong.