Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit bd6d393

Browse files
authored
[Fix/1702]Fix protobuf errors in binary built in docker build (#1706)
Fix protobuf errors in binary built in terrascan
1 parent cfea5fd commit bd6d393

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apk update && apk add --no-cache --update build-base git
1414
COPY . .
1515

1616
# build binary
17-
RUN CGO_ENABLED=${CGO_ENABLED_VAL} go build -v -ldflags "-w -s" -o /go/bin/terrascan ./cmd/terrascan
17+
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
1818

1919

2020
# -------- prod stage -------- #

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package version
1919
import "fmt"
2020

2121
// Terrascan The Terrascan version
22-
const Terrascan = "1.19.8"
22+
const Terrascan = "1.19.9"
2323

2424
// Get returns the terrascan version
2525
func Get() string {

0 commit comments

Comments
 (0)