Mermaid docker compose and Dockerfile build fails on RUN apk add --no-cache git~=2.43.4 #6154
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Error is the following:
=> ERROR [mermaid 3/3] RUN apk add --no-cache git~=2.43.4 && git config --add --system safe.directory /mermaid
Solved by removing the git version specification.
Steps to reproduce
git clone main
docker compose up
failure.
Screenshots
=> => extracting sha256:db3e2f2b60543c32c84a427cc2129966358695d5b298456169c12df7ee2fd1e0 0.0s
=> [mermaid 2/3] RUN corepack enable && corepack enable pnpm 1.2s
=> ERROR [mermaid 3/3] RUN apk add --no-cache git~=2.43.4 && git config --add --system safe.directory /mermaid 1.1s
Code Sample
No response
Setup
Suggested Solutions
Remove git version in apk add
Additional Context
No response
The text was updated successfully, but these errors were encountered: