Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Supports multiple output formats (PDF, SVG, PNG), a legend, and layout customiza

Run `dockerfilegraph` in your project directory to generate a `Dockerfile.pdf` with your build graph.

#### Docker
#### [Docker](https://www.docker.com/)

```shell
docker run --rm --user "$(id -u):$(id -g)" \
-v "$(pwd)":/workspace -w /workspace \
ghcr.io/patrickhoefler/dockerfilegraph
```

#### Homebrew
#### [Homebrew](https://brew.sh/)

```shell
brew install patrickhoefler/tap/dockerfilegraph
Expand All @@ -79,18 +79,20 @@ dockerfilegraph

- **Native Build**

*Requirements: [Go](https://go.dev/), [mise](https://mise.jdx.dev/) and [Graphviz](https://graphviz.org/)*
*Requirements: [mise](https://mise.jdx.dev/) and [Graphviz](https://graphviz.org/)*

```shell
mise install
mise run build
./dockerfilegraph
```

- **Container Build**

*Requirements: [Go](https://go.dev/), [mise](https://mise.jdx.dev/) and Docker*
*Requirements: [mise](https://mise.jdx.dev/) and [Docker](https://www.docker.com/)*

```shell
mise install
mise run build-docker-image
docker run \
--rm \
Expand Down
Loading