diff --git a/custom-metrics-stackdriver-adapter/Dockerfile b/custom-metrics-stackdriver-adapter/Dockerfile index e3518d86a..2eed6d032 100644 --- a/custom-metrics-stackdriver-adapter/Dockerfile +++ b/custom-metrics-stackdriver-adapter/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.22-alpine as builder +FROM golang:1.23-alpine as builder WORKDIR ${GOPATH}/src/github.com/GoogleCloudPlatform/k8s-stackdriver/custom-metrics-stackdriver-adapter COPY . ./ RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o /adapter