Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Update dockerfile (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
genevieveluyt authored May 18, 2021
1 parent c6284f1 commit 85c73ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15.1 AS builder
FROM golang:1.16 AS builder

# no need to include cgo bindings
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,11 @@ Kubeaudit has official releases that are blessed and stable:
### DIY build

Master may have newer features than the stable releases. If you need a newer
feature not yet included in a release you can do the following to get
kubeaudit:
feature not yet included in a release, make sure you're using Go 1.16 and run
the following:

**For go 1.12 and higher:**
```sh
GO111MODULE=on go get -v github.com/Shopify/kubeaudit
```

**For older versions of go:**
```sh
git clone https://github.com/Shopify/kubeaudit.git
cd kubeaudit
make
make install
go get -v github.com/Shopify/kubeaudit
```

Start using `kubeaudit` with the [Quick Start](#quick-start) or view all the [supported commands](#commands).
Expand Down
2 changes: 1 addition & 1 deletion goreleaser.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15.1 AS builder
FROM golang:1.16 AS builder

# no need to include cgo bindings
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
Expand Down

0 comments on commit 85c73ed

Please sign in to comment.