Merge pull request #904 from erikwilson/update-sonobuoy-2

Update sonobuoy to v0.16.2
This commit is contained in:
Erik Wilson 2019-10-15 22:15:46 -07:00 committed by GitHub
commit c5569cc518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,12 @@
FROM golang:1.13.1-alpine3.10
RUN apk -U --no-cache add bash git gcc musl-dev docker curl jq coreutils
RUN go get -d github.com/heptio/sonobuoy && \
git -C /go/src/github.com/heptio/sonobuoy checkout -b current v0.16.1 && \
go install github.com/heptio/sonobuoy
RUN SONOBUOY_VER=v0.16.2 && \
SONOBUOY_PKG=github.com/vmware-tanzu/sonobuoy && \
go get -d ${SONOBUOY_PKG} && \
cd /go/src/${SONOBUOY_PKG} && \
git checkout -b current ${SONOBUOY_VER} && \
go build -o /usr/local/bin/sonobuoy
RUN rm -rf /go/src /go/pkg
ARG DAPPER_HOST_ARCH