mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-21 15:11:20 +00:00
Statically link boost into dragonfly
This commit is contained in:
parent
b6ed08edb7
commit
7f06e223f7
@ -15,6 +15,7 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/helio/cmake" ${CMAKE_MODULE_PATH})
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
include(third_party)
|
||||
include(internal)
|
||||
|
||||
|
@ -20,7 +20,7 @@ LABEL org.opencontainers.image.source https://github.com/romange/dragonfly
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN groupadd -r -g 999 dfly && useradd -r -g dfly -u 999 dfly
|
||||
RUN apt update && apt install -y libunwind8 libboost-fiber1.71.0 libssl1.1 && \
|
||||
RUN apt update && apt install -y libunwind8 libssl1.1 && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /data && chown dfly:dfly /data
|
||||
|
Loading…
Reference in New Issue
Block a user