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

aleksraiden pushed a commit to branch aleksraiden-patch-3
in repository https://gitbox.apache.org/repos/asf/kvrocks.git

commit 68c403c0c26a56f8ffe8e7b68a3539f7936d512a
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Sat May 2 18:17:20 2026 +0300

    Remove DEBIAN_FRONTEND variable from RUN commands
---
 Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index f5cdf74ce..73c8ba700 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,8 +18,9 @@
 FROM debian:bookworm-slim AS build
 
 ARG MORE_BUILD_ARGS
+ENV DEBIAN_FRONTEND=noninteractive
 
-RUN DEBIAN_FRONTEND=noninteractive && 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 && 
apt-get autoremove && apt-get clean
 
 WORKDIR /kvrocks
 
@@ -28,7 +29,7 @@ RUN ./x.py build --compiler=clang -DENABLE_OPENSSL=ON 
-DPORTABLE=1 -DCMAKE_BUILD
 
 FROM debian:bookworm-slim
 
-RUN DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -y && 
apt-get -y install openssl ca-certificates redis-tools binutils && apt-get clean
+RUN apt-get update && apt-get upgrade -y && apt-get -y install openssl 
ca-certificates redis-tools binutils && apt-get clean
 
 # Create a dedicated non-root user and group
 RUN groupadd --gid=999 -r kvrocks && useradd --uid=999 -r -g kvrocks kvrocks

Reply via email to