mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 16:18:07 +00:00
Merge pull request #82 from aquasecurity/lizrice-patch-1
Minor format update to readme
This commit is contained in:
commit
e7152265eb
14
README.md
14
README.md
@ -24,12 +24,14 @@ Run ```docker run --rm -v `pwd`:/host aquasec/kube-bench:latest```. This will co
|
||||
|
||||
2. Install from sources:
|
||||
If Go is installed on the target machines, you can simply clone this repository and run as follows (assuming your [$GOPATH is set](https://github.com/golang/go/wiki/GOPATH)):
|
||||
```go get github.com/aquasecurity/kube-bench```
|
||||
```go get github.com/Masterminds/glide```
|
||||
```cd $GOPATH/src/github.com/aquasecurity/kube-bench```
|
||||
```$GOPATH/bin/glide install```
|
||||
```go build -o kube-bench . ```
|
||||
```./kube-bench <master|node>```
|
||||
|
||||
```go get github.com/aquasecurity/kube-bench
|
||||
go get github.com/Masterminds/glide
|
||||
cd $GOPATH/src/github.com/aquasecurity/kube-bench
|
||||
$GOPATH/bin/glide install
|
||||
go build -o kube-bench .
|
||||
./kube-bench <master|node>
|
||||
```
|
||||
|
||||
## Usage
|
||||
```./kube-bench [command]```
|
||||
|
Loading…
Reference in New Issue
Block a user