Added docker PATH volume, current directory volume and working directory to allow build to go through. (#155)
This commit is contained in:
parent
91d3721737
commit
d4e9bdb806
12
README.md
12
README.md
@ -16,6 +16,18 @@ or if you want to build your image then jump straight into analyzing it:
|
||||
dive build -t <some-tag> .
|
||||
```
|
||||
|
||||
Building on Macbook
|
||||
|
||||
```bash
|
||||
docker run --rm -it \
|
||||
-v /usr/local/bin/docker:/bin/docker \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v "$(pwd)":"$(pwd)" \
|
||||
-w "$(pwd)" \
|
||||
-v "$HOME/.dive.yaml":"$HOME/.dive.yaml" \
|
||||
wagoodman/dive:latest build -t <some-tag> .
|
||||
```
|
||||
|
||||
Additionally you can run this in your CI pipeline to ensure you're keeping wasted space to a minimum (this skips the UI):
|
||||
```
|
||||
CI=true dive <your-image>
|
||||
|
Loading…
x
Reference in New Issue
Block a user