diff --git a/custom-metrics-stackdriver-adapter/Dockerfile b/custom-metrics-stackdriver-adapter/Dockerfile index 5e1e99fc4..20b0f533d 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.19-alpine as builder +FROM golang:1.21-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