Skip to content

Commit 6c174a6

Browse files
ccojocarCosmin Cojocar
authored andcommitted
Update README file
Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 7935fd8 commit 6c174a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ You can build the docker image as follows:
227227
make image
228228
```
229229

230-
You can run the `gosec` tool in a container against your local Go project. You just have to mount the project in the
231-
`GOPATH` of the container:
230+
You can run the `gosec` tool in a container against your local Go project. You just have to mount the project
231+
into a volume as follow:
232232

233233
```bash
234-
docker run -it -v $GOPATH/src/<YOUR PROJECT PATH>:/go/src/<YOUR PROJECT PATH> securego/gosec /go/src/<YOUR PROJECT PATH>/...
234+
docker run -it -v <YOUR PROJECT PATH>/<PROJECT>:/<PROJECT> securego/gosec /<PROJECT>/...
235235
```
236236

237237
### Generate TLS rule

0 commit comments

Comments
 (0)