mirror of
https://github.com/typesense/typesense.git
synced 2025-05-15 19:06:48 +08:00
Use brpc with fixed glibc compatibility.
This commit is contained in:
parent
8271935c61
commit
5e1212d550
@ -22,7 +22,7 @@ if [[ "$@" == *"--depclean"* ]]; then
|
||||
fi
|
||||
|
||||
|
||||
TYPESENSE_DEV_IMAGE="typesense-development:04-DEC-2021-1"
|
||||
TYPESENSE_DEV_IMAGE="typesense-development:29-DEC-2021-1"
|
||||
if [[ "$@" == *"--graviton2"* ]]; then
|
||||
TYPESENSE_DEV_IMAGE="typesense-development-arm:03-DEC-2021-1"
|
||||
fi
|
||||
|
@ -72,14 +72,15 @@ RUN tar -C /opt -xf /opt/elfutils-0.182.tar.bz2
|
||||
RUN cd /opt/elfutils-0.182 && ./configure --disable-libdebuginfod --disable-debuginfod --without-lzma --without-bzlib && \
|
||||
make -j8 && make install && rm -rf /usr/local/lib/*.so*
|
||||
|
||||
ADD https://github.com/apache/incubator-brpc/archive/0.9.7-rc03.tar.gz /opt/brpc-0.9.7-rc03.tar.gz
|
||||
RUN tar -C /opt -xf /opt/brpc-0.9.7-rc03.tar.gz
|
||||
COPY patches/brpc_cmakelists.txt /opt/incubator-brpc-0.9.7-rc03/src/CMakeLists.txt
|
||||
RUN chown root:root /opt/incubator-brpc-0.9.7-rc03/src/CMakeLists.txt
|
||||
RUN mkdir -p /opt/incubator-brpc-0.9.7-rc03/bld && cd /opt/incubator-brpc-0.9.7-rc03/bld && \
|
||||
ADD https://github.com/typesense/incubator-brpc/archive/a48506a.tar.gz /opt/brpc-a48506a.tar.gz
|
||||
RUN tar -C /opt -xf /opt/brpc-a48506a.tar.gz
|
||||
COPY patches/brpc_cmakelists.txt /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/src/CMakeLists.txt
|
||||
RUN chown root:root /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/src/CMakeLists.txt
|
||||
RUN mkdir -p /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld && \
|
||||
cd /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld && \
|
||||
cmake -DWITH_DEBUG_SYMBOLS=OFF -DWITH_GLOG=ON .. && \
|
||||
make -j8 && make install && rm -rf /usr/local/lib/*.so* && \
|
||||
rm -rf /opt/incubator-brpc-0.9.7-rc03/bld/output/bin
|
||||
rm -rf /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld/output/bin
|
||||
|
||||
ADD https://github.com/typesense/braft/archive/938eeb5.tar.gz /opt/braft-938eeb5.tar.gz
|
||||
RUN tar -C /opt -xf /opt/braft-938eeb5.tar.gz
|
||||
|
@ -74,14 +74,15 @@ RUN tar -C /opt -xf /opt/elfutils-0.182.tar.bz2
|
||||
RUN cd /opt/elfutils-0.182 && ./configure --disable-libdebuginfod --disable-debuginfod --without-lzma --without-bzlib \
|
||||
&& make -j8 && make install && rm -rf /usr/local/lib/*.so*
|
||||
|
||||
ADD https://github.com/apache/incubator-brpc/archive/0.9.7-rc03.tar.gz /opt/brpc-0.9.7-rc03.tar.gz
|
||||
RUN tar -C /opt -xf /opt/brpc-0.9.7-rc03.tar.gz
|
||||
COPY patches/brpc_cmakelists.txt /opt/incubator-brpc-0.9.7-rc03/src/CMakeLists.txt
|
||||
RUN chown root:root /opt/incubator-brpc-0.9.7-rc03/src/CMakeLists.txt
|
||||
RUN mkdir -p /opt/incubator-brpc-0.9.7-rc03/bld && cd /opt/incubator-brpc-0.9.7-rc03/bld && \
|
||||
ADD https://github.com/typesense/incubator-brpc/archive/a48506a.tar.gz /opt/brpc-a48506a.tar.gz
|
||||
RUN tar -C /opt -xf /opt/brpc-a48506a.tar.gz
|
||||
COPY patches/brpc_cmakelists.txt /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/src/CMakeLists.txt
|
||||
RUN chown root:root /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/src/CMakeLists.txt
|
||||
RUN mkdir -p /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld && \
|
||||
cd /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld && \
|
||||
cmake -DWITH_DEBUG_SYMBOLS=OFF -DWITH_GLOG=ON .. && \
|
||||
make -j8 && make install && rm -rf /usr/local/lib/*.so* && \
|
||||
rm -rf /opt/incubator-brpc-0.9.7-rc03/bld/output/bin
|
||||
rm -rf /opt/incubator-brpc-a48506a635072ae2abf370798a47038fbcd230ff/bld/output/bin
|
||||
|
||||
ADD https://github.com/typesense/braft/archive/938eeb5.tar.gz /opt/braft-938eeb5.tar.gz
|
||||
RUN tar -C /opt -xf /opt/braft-938eeb5.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user