diff --git a/Dockerfile b/Dockerfile index f947268151..c1edf4b93e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.1 AS builder +FROM golang:1.22.2 AS builder ENV GO111MODULE=on COPY go.mod /etc/go.mod RUN git clone --depth 1 --branch $(cat /etc/go.mod | grep k8scloudconfig | awk '{print $2}') https://github.com/giantswarm/k8scloudconfig.git && cp -r k8scloudconfig /opt/k8scloudconfig