mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Install protobuf in Docker
This commit is contained in:
@@ -90,10 +90,11 @@ RUN git clone -b v21.9 --depth=1 --recursive {{ GIT }}/protocolbuffers/protobuf.
|
||||
-Dprotobuf_BUILD_TESTS=OFF \
|
||||
-Dprotobuf_BUILD_PROTOBUF_BINARIES=ON \
|
||||
-Dprotobuf_BUILD_LIBPROTOC=ON \
|
||||
-Dprotobuf_WITH_ZLIB_DEFAULT=OFF \
|
||||
-Dprotobuf_DEBUG_POSTFIX="" \
|
||||
-Dprotobuf_WITH_ZLIB=OFF \
|
||||
&& cmake --build build --parallel \
|
||||
&& rm -rf .git
|
||||
&& DESTDIR="{{ LibrariesPath }}/protobuf-cache" cmake --install build \
|
||||
&& cd .. \
|
||||
&& rm -rf protobuf
|
||||
|
||||
FROM builder AS lcms2
|
||||
RUN git clone -b lcms2.15 --depth=1 {{ GIT }}/mm2/Little-CMS.git \
|
||||
@@ -800,7 +801,7 @@ RUN cmake --build out --config Debug --parallel \
|
||||
FROM builder-base
|
||||
COPY --link --from=zlib {{ LibrariesPath }}/zlib-cache /
|
||||
COPY --link --from=xz {{ LibrariesPath }}/xz-cache /
|
||||
COPY --link --from=protobuf {{ LibrariesPath }}/protobuf protobuf
|
||||
COPY --link --from=protobuf {{ LibrariesPath }}/protobuf-cache /
|
||||
COPY --link --from=lcms2 {{ LibrariesPath }}/lcms2-cache /
|
||||
COPY --link --from=brotli {{ LibrariesPath }}/brotli-cache /
|
||||
COPY --link --from=highway {{ LibrariesPath }}/highway-cache /
|
||||
|
||||
+1
-1
Submodule cmake updated: f921cb6aba...bf157ab03f
Reference in New Issue
Block a user