Skip to content

Commit

Permalink
influx, perf: update Dockerfile to build with Go 1.23
Browse files Browse the repository at this point in the history
Change-Id: Ife18300373ea73af34f80a3d161794f50737cde5
Reviewed-on: https://go-review.googlesource.com/c/build/+/611555
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Michael Pratt <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
dmitshur authored and gopherbot committed Sep 9, 2024
1 parent ad8de1a commit 298fa01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion influx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions perf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 298fa01

Please sign in to comment.