Merge pull request #82 from aquasecurity/lizrice-patch-1

Minor format update to readme
pull/86/head
Liz Rice 6 years ago committed by GitHub
commit e7152265eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,12 +24,14 @@ Run ```docker run --rm -v `pwd`:/host aquasec/kube-bench:latest```. This will co
2. Install from sources: 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)): 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``` ```go get github.com/aquasecurity/kube-bench
```cd $GOPATH/src/github.com/aquasecurity/kube-bench``` go get github.com/Masterminds/glide
```$GOPATH/bin/glide install``` cd $GOPATH/src/github.com/aquasecurity/kube-bench
```go build -o kube-bench . ``` $GOPATH/bin/glide install
```./kube-bench <master|node>``` go build -o kube-bench .
./kube-bench <master|node>
```
## Usage ## Usage
```./kube-bench [command]``` ```./kube-bench [command]```

Loading…
Cancel
Save