Skip to content

update-ca-certificates: not found #2177

Closed
@rpaterson

Description

@rpaterson

Environment

  • Platform: Linux
  • Docker Version: 27.3.1, build ce12230
  • Node.js Version: 18.20.5
  • Image Tag: node:18.20.5-alpine3.21

Expected Behavior

update-ca-certificates utility should be present and run successfully.

Current Behavior

RUN update-ca-certificates fails with "update-ca-certificates: not found":

 => ERROR [4/8] RUN update-ca-certificates                                                                                                                                               0.2s
------                                                                                                                                                                                        
 > [4/8] RUN update-ca-certificates:
0.159 /bin/sh: update-ca-certificates: not found
------
Dockerfile:17
--------------------
  15 |     
  16 |     COPY schema/global-bundle.pem /usr/local/share/ca-certificates/global-bundle.pem
  17 | >>> RUN update-ca-certificates
  18 |     
  19 |     WORKDIR /card
--------------------
ERROR: failed to solve: process "/bin/sh -c update-ca-certificates" did not complete successfully: exit code: 127

Possible Solution

Steps to Reproduce

Additional Information

RUN update-ca-certificates works on node:18.20.5-alpine3.20, this regression was introduced in node:18.20.5-alpine3.21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions