Skip to content

Commit 5e10281

Browse files
committed
update Dockerfile
1 parent 4cbf629 commit 5e10281

17 files changed

+24
-24
lines changed

azure-ipam/linux.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG DROPGZ_VERSION=v0.0.12
33
ARG OS_VERSION
44
ARG OS
55

6-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-ipam
6+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-ipam
77
ARG OS
88
ARG VERSION
99
WORKDIR /azure-ipam
@@ -18,7 +18,7 @@ COPY --from=azure-ipam /azure-ipam/*.conflist /payload
1818
RUN cd /payload && sha256sum * > sum.txt
1919
RUN gzip --verbose --best --recursive /payload && for f in /payload/*.gz; do mv -- "$f" "${f%%.gz}"; done
2020

21-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
21+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
2222
ARG DROPGZ_VERSION
2323
ARG OS
2424
ARG VERSION

azure-ipam/windows.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG DROPGZ_VERSION=v0.0.12
33
ARG OS
44
ARG OS_VERSION
55

6-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-ipam
6+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-ipam
77
ARG OS
88
ARG VERSION
99
WORKDIR /azure-ipam
@@ -18,7 +18,7 @@ COPY --from=azure-ipam /azure-ipam/*.conflist /payload
1818
RUN cd /payload && sha256sum * > sum.txt
1919
RUN gzip --verbose --best --recursive /payload && for f in /payload/*.gz; do mv -- "$f" "${f%%.gz}"; done
2020

21-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
21+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
2222
ARG DROPGZ_VERSION
2323
ARG OS
2424
ARG VERSION

cni/build/windows.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG OS_VERSION
2-
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS builder
2+
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS builder
33
ARG VERSION
44
ARG CNI_AI_PATH
55
ARG CNI_AI_ID

cni/linux.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG DROPGZ_VERSION=v0.0.12
33
ARG OS_VERSION
44
ARG OS
55

6-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-vnet
6+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-vnet
77
ARG OS
88
ARG VERSION
99
WORKDIR /azure-container-networking
@@ -23,7 +23,7 @@ COPY --from=azure-vnet /azure-container-networking/telemetry/azure-vnet-telemetr
2323
RUN cd /payload && sha256sum * > sum.txt
2424
RUN gzip --verbose --best --recursive /payload && for f in /payload/*.gz; do mv -- "$f" "${f%%.gz}"; done
2525

26-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
26+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
2727
ARG DROPGZ_VERSION
2828
ARG OS
2929
ARG VERSION

cni/windows.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG DROPGZ_VERSION=v0.0.12
33
ARG OS
44
ARG OS_VERSION
55

6-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-vnet
6+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-vnet
77
ARG OS
88
ARG VERSION
99
WORKDIR /azure-container-networking
@@ -23,7 +23,7 @@ COPY --from=azure-vnet /azure-container-networking/telemetry/azure-vnet-telemetr
2323
RUN cd /payload && sha256sum * > sum.txt
2424
RUN gzip --verbose --best --recursive /payload && for f in /payload/*.gz; do mv -- "$f" "${f%%.gz}"; done
2525

26-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
26+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
2727
ARG DROPGZ_VERSION
2828
ARG OS
2929
ARG VERSION

cns/linux.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS builder
1+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS builder
22
ARG VERSION
33
ARG CNS_AI_PATH
44
ARG CNS_AI_ID

cns/windows.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG OS_VERSION
2-
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS builder
2+
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS builder
33
ARG VERSION
44
ARG CNS_AI_PATH
55
ARG CNS_AI_ID

dropgz/build/cniTest_linux.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-ipam
1+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-ipam
22
ARG VERSION
33
WORKDIR /azure-ipam
44
COPY ./azure-ipam .
55
RUN CGO_ENABLED=0 go build -a -o bin/azure-ipam -trimpath -ldflags "-X main.version="$VERSION"" -gcflags="-dwarflocationlists=true" .
66

7-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-vnet
7+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-vnet
88
ARG VERSION
99
WORKDIR /azure-container-networking
1010
COPY . .
@@ -27,7 +27,7 @@ COPY --from=azure-vnet /azure-container-networking/telemetry/azure-vnet-telemetr
2727
RUN cd pkg/embed/fs/ && sha256sum * > sum.txt
2828
RUN gzip --verbose --best --recursive pkg/embed/fs && for f in pkg/embed/fs/*.gz; do mv -- "$f" "${f%%.gz}"; done
2929

30-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
30+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
3131
ARG VERSION
3232
WORKDIR /dropgz
3333
COPY --from=compressor /dropgz .

dropgz/build/cniTest_windows.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG ARCH
22
ARG OS_VERSION
3-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS azure-vnet
3+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS azure-vnet
44
ARG VERSION
55
WORKDIR /azure-container-networking
66
COPY . .
@@ -19,7 +19,7 @@ COPY --from=azure-vnet /azure-container-networking/telemetry/azure-vnet-telemetr
1919
RUN cd pkg/embed/fs/ && sha256sum * > sum.txt
2020
RUN gzip --verbose --best --recursive pkg/embed/fs && for f in pkg/embed/fs/*.gz; do mv -- "$f" "${f%%.gz}"; done
2121

22-
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
22+
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
2323
ARG VERSION
2424
WORKDIR /dropgz
2525
COPY --from=compressor /dropgz .

dropgz/build/linux.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ COPY --from=azure-vnet /azure-container-networking/azure-vnet-ipam pkg/embed/fs
3535
RUN cd pkg/embed/fs/ && sha256sum * > sum.txt
3636
RUN gzip --verbose --best --recursive pkg/embed/fs && for f in pkg/embed/fs/*.gz; do mv -- "$f" "${f%%.gz}"; done
3737

38-
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22 AS dropgz
38+
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.23 AS dropgz
3939
ARG VERSION
4040
WORKDIR /dropgz
4141
COPY --from=compressor /dropgz .

0 commit comments

Comments
 (0)