Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/buildenv/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.7.0
* Add system-installed protobuf and ASIO for C++ client testing

v3.6.0
* Update bazel to 9.1.1

Expand Down
23 changes: 23 additions & 0 deletions tools/buildenv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,29 @@ RUN apt-get update && \
git clone https://github.com/bazelbuild/buildtools.git --depth 1 --branch v7.1.2 && \
(cd buildtools/buildifier; GOBIN=/usr/local/bin go install)

# Install ASIO
RUN apt-get update && \
apt-get install -y libasio-dev && \
apt-get clean

# Install Protobuf
ARG PROTOBUF_VERSION=35.1
RUN mkdir /protobuf && \
cd /protobuf && \
wget -O protobuf.tar.gz \
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-${PROTOBUF_VERSION}.tar.gz && \
tar xf protobuf.tar.gz && \
cd protobuf-${PROTOBUF_VERSION} && \
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-Dprotobuf_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr/local && \
cmake --build build -j$(nproc) && \
cmake --install build && \
ldconfig && \
cd / && \
rm -rf /protobuf*

WORKDIR /build

# Add github actions user
Expand Down
2 changes: 1 addition & 1 deletion tools/buildenv/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.6.0
3.7.0
Loading