Skip to content

Commit f0fc10a

Browse files
committed
Update Dockerfile
1 parent 75585df commit f0fc10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM golang:1.24-alpine AS builder
2-
RUN apk update && apk add --no-cache git
1+
FROM 130607246975.dkr.ecr.eu-central-1.amazonaws.com/base/golang-1.24:build-1.0.0 AS builder
2+
RUN apt-get update && apt-get install -y git
33
WORKDIR $GOPATH/src/istio-config-validator/
44
COPY . .
55
RUN CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o /go/bin/istio-config-validator ./cmd/istio-config-validator/
66

7-
FROM busybox
7+
FROM 130607246975.dkr.ecr.eu-central-1.amazonaws.com/base/golang-1.24:runtime-1.0.0
88
COPY --from=builder /go/bin/istio-config-validator /go/bin/istio-config-validator
99

1010
ENTRYPOINT ["/go/bin/istio-config-validator"]

0 commit comments

Comments
 (0)