This is an automated email from the ASF dual-hosted git repository.

PragmaTwice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new c8a66e2ca chore(build): change base docker image to debian:trixie-slim 
(#3478)
c8a66e2ca is described below

commit c8a66e2caf86217650786a5b58d852759a6877ac
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Mon May 4 11:53:44 2026 +0300

    chore(build): change base docker image to debian:trixie-slim (#3478)
    
    Change base docker image to debian:trixie-slim - current used bookworm
    are too old. So, I propose to use stable tagged Debian image - now it's
    a codename trixie.
---
 Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 73c8ba700..6bcf29310 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,19 +15,19 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM debian:bookworm-slim AS build
+FROM debian:trixie-slim AS build
 
 ARG MORE_BUILD_ARGS
 ENV DEBIAN_FRONTEND=noninteractive
 
-RUN apt-get update && apt-get upgrade -y && apt-get -y --no-install-recommends 
install git build-essential autoconf cmake libtool python3 libssl-dev clang && 
apt-get autoremove && apt-get clean
+RUN apt-get update && apt-get upgrade -y && apt-get -y --no-install-recommends 
install git build-essential autoconf cmake libtool python3 libssl-dev clang 
ca-certificates && apt-get autoremove && apt-get clean
 
 WORKDIR /kvrocks
 
 COPY . .
-RUN ./x.py build --compiler=clang -DENABLE_OPENSSL=ON -DPORTABLE=1 
-DCMAKE_BUILD_TYPE=Release -j $(nproc) $MORE_BUILD_ARGS
+RUN ./x.py build --compiler=clang -DCMAKE_EXE_LINKER_FLAGS="-latomic" 
-DENABLE_OPENSSL=ON -DPORTABLE=1 -DCMAKE_BUILD_TYPE=Release -j $(nproc) 
$MORE_BUILD_ARGS
 
-FROM debian:bookworm-slim
+FROM debian:trixie-slim
 
 RUN apt-get update && apt-get upgrade -y && apt-get -y install openssl 
ca-certificates redis-tools binutils && apt-get clean
 

Reply via email to