From fa5175557a592fddb07f79157871e8a87373210d Mon Sep 17 00:00:00 2001 From: Harel Moshe Date: Sun, 9 Jun 2024 13:42:07 +0300 Subject: [PATCH] Try update Go version --- controller/Dockerfile | 4 ++-- telemetryproxy/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/Dockerfile b/controller/Dockerfile index 2f80e77f..694da8d5 100644 --- a/controller/Dockerfile +++ b/controller/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.21.8-alpine3.19 as builder ARG TARGETOS ARG TARGETARCH @@ -21,7 +21,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma FROM alpine:latest # Be able to validate the TLS cert of the Lumigo SaaS endpoint -RUN apk add bash procps +RUN apk add bash procps WORKDIR / COPY --from=builder --chown=65532:65532 /workspace/manager . diff --git a/telemetryproxy/Dockerfile b/telemetryproxy/Dockerfile index 8c535510..fbb30167 100644 --- a/telemetryproxy/Dockerfile +++ b/telemetryproxy/Dockerfile @@ -1,5 +1,5 @@ # Byuild the telemetry-proxy from sources -FROM golang:1.20-alpine AS telemetry-proxy-builder +FROM golang:1.21.8-alpine3.19 AS telemetry-proxy-builder ARG version='dev' ENV VERSION=${version} @@ -32,7 +32,7 @@ FROM alpine:latest # Be able to validate the TLS cert of the Lumigo SaaS endpoint RUN apk add ca-certificates # Update OtelCollector config on namespace file change -RUN apk add bash gomplate procps +RUN apk add bash gomplate procps COPY --from=chmod-helper /lumigo /lumigo