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

docs: local-development #25394

Merged
merged 5 commits into from
Oct 25, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/development/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,16 @@
docker build -f .devcontainer/Dockerfile -t renovatebot_local .
```

Starting from Docker Engine 23.0 and Docker Desktop 4.19, Docker uses Buildx by default.
So you must run the following command to get the image loaded to the docker image store:
viceice marked this conversation as resolved.
Show resolved Hide resolved
```

Check failure on line 80 in docs/development/local-development.md

View workflow job for this annotation

GitHub Actions / lint-docs

Fenced code blocks should be surrounded by blank lines

docs/development/local-development.md:80 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.31.1/doc/md031.md
rarkins marked this conversation as resolved.
Show resolved Hide resolved
docker build -f .devcontainer/Dockerfile -t renovatebot_local --load .
```

Then you can run `pnpm` directly from Docker, for instance:

```
docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app renovatebot_local pnpm install
docker run -it --rm -v "${PWD}:/usr/src/app" -w /usr/src/app renovatebot_local pnpm install
```

## Fork and Clone
Expand Down