Skip to content

Commit

Permalink
Run ldconfig in Debian Docker images only
Browse files Browse the repository at this point in the history
  • Loading branch information
lwthiker committed Jul 29, 2022
1 parent 8f19c20 commit c90b33a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 0 additions & 2 deletions chrome/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 0 additions & 2 deletions firefox/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit c90b33a

Please sign in to comment.