Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Docker dev env, changeset requires git #5833

Closed
kairi003 opened this issue Sep 7, 2024 · 0 comments · Fixed by #5834
Closed

In Docker dev env, changeset requires git #5833

kairi003 opened this issue Sep 7, 2024 · 0 comments · Fixed by #5834
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@kairi003
Copy link
Contributor

kairi003 commented Sep 7, 2024

Description

The checklist in the PR template shows to run pnpm changeset.
However, in a Docker environment . /run pnpm changeset fails.
This is because there is no git command.

Steps to reproduce

  1. set up dev env with docker
  2. ./run pnpm changeset

Screenshots

image

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

Update Dockerfile to install git

RUN apk add --no-cache git
RUN git config --add --system safe.directory /mermaid

Additional Context

No response

@kairi003 kairi003 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant