diff --git a/Dockerfile.template b/Dockerfile.template index 2833dc6..044bfc3 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -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}} diff --git a/chrome/Dockerfile.alpine b/chrome/Dockerfile.alpine index 11bb615..9188d28 100644 --- a/chrome/Dockerfile.alpine +++ b/chrome/Dockerfile.alpine @@ -140,7 +140,5 @@ FROM alpine:3.15.0 # Copy curl-impersonate from the builder image COPY --from=builder /build/install /usr/local -# Update the loader's cache -RUN ldconfig # Wrapper scripts COPY --from=builder /build/out/curl_* /usr/local/bin/ diff --git a/firefox/Dockerfile.alpine b/firefox/Dockerfile.alpine index 438726f..c1d00ac 100644 --- a/firefox/Dockerfile.alpine +++ b/firefox/Dockerfile.alpine @@ -136,7 +136,5 @@ RUN apk add --no-cache nss # Copy curl-impersonate from the builder image COPY --from=builder /build/install /usr/local -# Update the loader's cache -RUN ldconfig # Wrapper scripts COPY --from=builder /build/out/curl_* /usr/local/bin/