diff --git a/Dockerfile b/Dockerfile index d53186f1f728..5278561efeff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,9 @@ ARG GO_TAGS="stablediffusion tts" RUN apt-get update && \ apt-get install -y ca-certificates cmake curl patch pip +COPY --chmod=644 custom-ca-certs/* /usr/local/share/ca-certificates/ +RUN update-ca-certificates + # Use the variables in subsequent instructions RUN echo "Target Architecture: $TARGETARCH" RUN echo "Target Variant: $TARGETVARIANT" diff --git a/custom-ca-certs/.keep b/custom-ca-certs/.keep new file mode 100644 index 000000000000..e69de29bb2d1