Skip to content

Commit

Permalink
Fix protobuf errors in binary built in terrascan
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoretenable committed Sep 18, 2024
1 parent a538eaa commit 3f3eb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 -------- #
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3f3eb23

Please sign in to comment.