Run 'ldconfig' in Docker images

Run ldconfig to update the loader's cache. This is necessary
specifically on the Debian image since we put .so files in /usr/local.
This commit is contained in:
lwthiker
2022-07-29 21:05:29 +03:00
parent 6eaf8fafa3
commit 8f19c20868
5 changed files with 10 additions and 0 deletions

View File

@@ -249,6 +249,8 @@ 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
# 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