Skip to content

Commit 13a509c

Browse files
authored
Merge pull request #4183 from saschagrunert/fix-docker-cli-api-version
Pin docker-ce-cli to version 24.0.x for API 1.43 compatibility
2 parents e66af2e + 883ffc8 commit 13a509c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/k8s-cloud-builder/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ ENV PATH="${GOOGLE_DIR}/google-cloud-sdk/bin:${PATH}"
8181

8282
# Install docker cli
8383
# https://docs.docker.com/install/linux/docker-ce/debian/
84+
# Pin to version 24.0.x for API version 1.43 compatibility with DinD in CI
85+
# See: https://github.com/kubernetes/release/issues/4180
8486
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
8587
&& apt-key fingerprint 0EBFCD88 \
8688
&& add-apt-repository \
@@ -89,7 +91,7 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
8991
stable" \
9092
&& apt-get -y update \
9193
&& apt-get -qqy install \
92-
docker-ce-cli
94+
docker-ce-cli=5:24.0.*
9395

9496
# Cleanup a bit
9597
RUN apt-get -qqy remove \

0 commit comments

Comments
 (0)