Skip to content
Snippets Groups Projects
Commit a3d8d80e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

vlc-debian-android: Prebuild protobuf-compiler

parent fe438242
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ FROM debian:buster-20200224
MAINTAINER VideoLAN roots <roots@videolan.org>
ENV IMAGE_DATE=202023031031
ENV IMAGE_DATE=202107301440
COPY crossfiles/ /opt/crossfiles/
......@@ -70,6 +70,13 @@ RUN addgroup --quiet --gid ${VIDEOLAN_CI_UID} videolan && \
tar xzf cmake-$CMAKE_VERSION.tar.gz && \
cd cmake-$CMAKE_VERSION && ./configure --prefix=/opt/tools/ --parallel=$CORES --no-qt-gui -- \
-DCMAKE_USE_OPENSSL:BOOL=OFF -DBUILD_TESTING:BOOL=OFF && make -j$CORES && make install && \
PROTOBUF_VERSION=3.1.0 && \
PROTOBUF_SHA256=51ceea9957c875bdedeb1f64396b5b0f3864fe830eed6a2d9c066448373ea2d6 && \
wget -q https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.tar.gz && \
echo $PROTOBUF_SHA256 protobuf-cpp-$PROTOBUF_VERSION.tar.gz | sha256sum -c && \
tar xzfo protobuf-cpp-$PROTOBUF_VERSION.tar.gz && \
cd protobuf-$PROTOBUF_VERSION && \
./configure --prefix=/opt/tools/ --disable-shared --enable-static && make -j$CORES && make install && \
rm -rf /build
ENV LANG en_US.UTF-8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment