Skip to content

Cannot set NODE_EXTRA_CA_CERTS #938

Answered by rarkins
y0x asked this question in Q&A
Discussion options

You must be logged in to vote

Renovate defaults to USER 1000, while update certificates needs to be run as root. Try this:

FROM renovate/renovate:latest
USER 0
COPY cert.pem /usr/local/share/ca-certificates/my-root-ca.crt
RUN update-ca-certificates
USER 1000

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by viceice
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #938 on April 27, 2023 07:34.