Statically link boost into dragonfly

This commit is contained in:
Roman Gershman 2022-05-04 15:55:03 +03:00
parent b6ed08edb7
commit 7f06e223f7
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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