mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 04:25:52 +00:00
Update README file
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
parent
7935fd85b9
commit
6c174a61d4
1 changed files with 3 additions and 3 deletions
|
@ -227,11 +227,11 @@ You can build the docker image as follows:
|
||||||
make image
|
make image
|
||||||
```
|
```
|
||||||
|
|
||||||
You can run the `gosec` tool in a container against your local Go project. You just have to mount the project in the
|
You can run the `gosec` tool in a container against your local Go project. You just have to mount the project
|
||||||
`GOPATH` of the container:
|
into a volume as follow:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it -v $GOPATH/src/<YOUR PROJECT PATH>:/go/src/<YOUR PROJECT PATH> securego/gosec /go/src/<YOUR PROJECT PATH>/...
|
docker run -it -v <YOUR PROJECT PATH>/<PROJECT>:/<PROJECT> securego/gosec /<PROJECT>/...
|
||||||
```
|
```
|
||||||
|
|
||||||
### Generate TLS rule
|
### Generate TLS rule
|
||||||
|
|
Loading…
Reference in a new issue