From 6caf0e77fa1a1c11bbdc7dd5db3b733c0a63a610 Mon Sep 17 00:00:00 2001 From: Scott Blum Date: Thu, 22 Jan 2026 16:01:15 -0500 Subject: [PATCH] update lead version to Go 1.25 (#543) --- .circleci/config.yml | 14 +++++++------- Dockerfile | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 84fd9c7..61f375d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,12 +9,6 @@ shared_configs: # Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 jobs: - build-1-22: - working_directory: ~/repo - docker: - - image: cimg/go:1.22 - steps: *simple_job_steps - build-1-23: working_directory: ~/repo docker: @@ -25,6 +19,12 @@ jobs: working_directory: ~/repo docker: - image: cimg/go:1.24 + steps: *simple_job_steps + + build-1-25: + working_directory: ~/repo + docker: + - image: cimg/go:1.25 steps: - checkout - run: @@ -35,6 +35,6 @@ jobs: workflows: pr-build-test: jobs: - - build-1-22 - build-1-23 - build-1-24 + - build-1-25 diff --git a/Dockerfile b/Dockerfile index 1d6ac4c..ed01d3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM golang:1.23-alpine as builder -MAINTAINER Fullstory Engineering +FROM golang:1.25-alpine AS builder +LABEL maintainer="Fullstory Engineering" # create non-privileged group and user RUN addgroup -S grpcurl && adduser -S grpcurl -G grpcurl @@ -16,7 +16,7 @@ RUN go build -o /grpcurl \ -ldflags "-w -extldflags \"-static\" -X \"main.version=$(cat VERSION)\"" \ ./cmd/grpcurl -FROM alpine:3 as alpine +FROM alpine:3 AS alpine WORKDIR / COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=builder /etc/passwd /etc/passwd