We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf018ad + ead3ad8 commit 7fb96bdCopy full SHA for 7fb96bd
images/build/debian-base/bookworm/Dockerfile.build
@@ -13,12 +13,22 @@
13
# limitations under the License.
14
15
ARG BASEIMAGE
16
-FROM $BASEIMAGE
17
18
-ARG ARCH
+FROM $BASEIMAGE AS certs
+
19
+ENV DEBIAN_FRONTEND=noninteractive
20
21
+# Install ca-certificates and dependencies
22
+RUN apt-get update \
23
+ && apt-get install -y ca-certificates
24
25
+FROM $BASEIMAGE
26
27
ENV DEBIAN_FRONTEND=noninteractive
28
29
+# Copy only ca-certificates without any dependencies
30
+COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
31
32
# Smaller package install size.
33
COPY excludes /etc/dpkg/dpkg.cfg.d/excludes
34
0 commit comments