diff --git a/build/Dockerfile b/build/Dockerfile index 708ce870b..5b6259ebb 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -14,7 +14,7 @@ RUN apk update && apk add --no-cache --update build-base git COPY . . # build binary -RUN CGO_ENABLED=${CGO_ENABLED_VAL} go build -v -ldflags "-w -s" -o /go/bin/terrascan ./cmd/terrascan +RUN CGO_ENABLED=${CGO_ENABLED_VAL} go build -v -ldflags "-w -s -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore" -o /go/bin/terrascan ./cmd/terrascan # -------- prod stage -------- # diff --git a/pkg/version/version.go b/pkg/version/version.go index 81265ad00..ae728a047 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -19,7 +19,7 @@ package version import "fmt" // Terrascan The Terrascan version -const Terrascan = "1.19.8" +const Terrascan = "1.19.9" // Get returns the terrascan version func Get() string {