Run ldconfig in Debian Docker images only

This commit is contained in:
lwthiker
2022-07-29 21:58:38 +03:00
parent 8f19c20868
commit c90b33a605
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -249,9 +249,9 @@ RUN apt-get update && apt-get install -y libnss3 nss-plugin-pem
# Copy curl-impersonate from the builder image
COPY --from=builder /build/install /usr/local
{{#debian}}
# Update the loader's cache
RUN ldconfig
{{#debian}}
# Copy to /build/out as well for backward compatibility with previous versions.
COPY --from=builder /build/out /build/out
{{/debian}}