Commit 6194942
committed
fix(docker): correct Dockerfile path and image tag in VMs scripts
Fixes two issues reported on PR #445:
- VMs/buildDockerImage.sh used `.` as build context with no --file,
so running the script from the repo root made buildx look for
./Dockerfile (which does not exist). Switch to explicit
--file VMs/Dockerfile and context VMs, matching the paths used
by .github/workflows/docker-publish.yml.
- VMs/runDockerImage.sh still referenced the old `benchmark` image
tag, but the buildx rewrite in c68a62b publishes
`owasp/benchmark:latest`. Update the tag so `docker run` finds
the freshly-built image.
Reported-by: @darkspirit5101 parent e721461 commit 6194942
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| 27 | + | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
0 commit comments