diff --git a/influx/Dockerfile b/influx/Dockerfile index 75c3ef9998..d2391487fd 100644 --- a/influx/Dockerfile +++ b/influx/Dockerfile @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -FROM golang:1.21 AS build +FROM golang:1.23-bookworm AS build COPY go.mod /app/go.mod COPY go.sum /app/go.sum diff --git a/perf/Dockerfile b/perf/Dockerfile index 875dd6d0d2..a61f28cb4b 100644 --- a/perf/Dockerfile +++ b/perf/Dockerfile @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -FROM golang:1.21-bookworm AS builder +FROM golang:1.23-bookworm AS build COPY go.mod /app/go.mod COPY go.sum /app/go.sum @@ -23,5 +23,5 @@ RUN apt-get update && apt-get install -y \ ca-certificates \ && rm -rf /var/lib/apt/lists/* -COPY --from=builder /app/perf / +COPY --from=build /app/perf / ENTRYPOINT ["/perf"]