Skip to content

Commit

Permalink
Added protobuf compiling from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
like-a-freedom committed Feb 2, 2025
1 parent fdf70bf commit 3533081
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ RUN apt-get install -y \
git

#29.3
# ARG PROTOBUF_VERSION=5.29.3
# RUN git clone --branch v${PROTOBUF_VERSION} --recurse-submodules https://github.com/protocolbuffers/protobuf && \
# cd protobuf && \
# cmake -Dprotobuf_BUILD_TESTS=OFF \
# -Dprotobuf_BUILD_SHARED_LIBS=ON \
# -B build && \
# cmake --build build --parallel $(nproc) && \
# cmake --install build
ARG PROTOBUF_VERSION=5.29.3
RUN git clone --branch v${PROTOBUF_VERSION} --recurse-submodules https://github.com/protocolbuffers/protobuf && \
cd protobuf && \
cmake -Dprotobuf_BUILD_TESTS=OFF \
-Dprotobuf_BUILD_SHARED_LIBS=ON \
-B build && \
cmake --build build --parallel $(nproc) && \
cmake --install build

# Set comprehensive build environment variables
ENV UV_COMPILE_BYTECODE=1
Expand Down

0 comments on commit 3533081

Please sign in to comment.