]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Remove redundant libgnutls packages and translate comments to English 1582/head
authorabubakarsabir924-cell <abubakarsabir924@gmail.com>
Sat, 23 May 2026 14:47:16 +0000 (10:47 -0400)
committerabubakarsabir924-cell <abubakarsabir924@gmail.com>
Sat, 23 May 2026 14:47:16 +0000 (10:47 -0400)
Dockerfile

index 821e61906a253591f8e94bda4c16456ca93c410c..f17296d0d9425bf1046292c3af1dfaf664aa0897 100644 (file)
@@ -9,7 +9,6 @@ RUN apt-get update -y && apt-get upgrade --fix-missing -y \
         autoconf \
         build-essential \
         libavahi-client-dev \
-        libgnutls28-dev \
         libkrb5-dev \
         libnss-mdns \
         libpam-dev \
@@ -21,7 +20,7 @@ RUN apt-get update -y && apt-get upgrade --fix-missing -y \
 
 COPY . /root/cups
 
-# DESTDIR=/buildroot — sab kuch /buildroot mein install hoga
+# Install into a build root directory for clean stage separation
 RUN ./configure \
         --prefix=/usr \
        --libdir=/usr/lib \
@@ -37,7 +36,6 @@ RUN apt-get update -y \
     && apt-get install -y --no-install-recommends \
         avahi-daemon \
         libavahi-client3 \
-        libgnutls30t64 \
         libkrb5-3 \
         libnss-mdns \
         libpam0g \
@@ -49,12 +47,11 @@ RUN apt-get update -y \
         zlib1g \
     && rm -rf /var/lib/apt/lists/*
 
-# Poora buildroot copy — ubuntu files overwrite se bachne ke liye
-# sirf CUPS ki apni files copy ho rahi hain /buildroot se
+# copy the build root into the runtime image
 COPY --from=builder /buildroot/usr /usr
 COPY --from=builder /buildroot/etc/cups /etc/cups
 
-# ldconfig — koi hardcoded path nahi, system khud library dhundega
+# Update the dynamic linker cache so libcups.so.2 is discoverable
 RUN ldconfig
 
 RUN useradd -m --create-home \