Skip to content

Commit 221a608

Browse files
authored
Merge pull request #3014 from crazy-max/dockerfile-docker-28
Dockerfile: update to docker v28.0.0
2 parents 80c16bc + aef388b commit 221a608

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

.github/workflows/build.yml

+10
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ jobs:
7676
- worker: docker+containerd # same as docker, but with containerd snapshotter
7777
pkg: ./tests
7878
mode: experimental
79+
- worker: "[email protected]"
80+
pkg: ./tests
81+
- worker: "[email protected]" # same as docker, but with containerd snapshotter
82+
pkg: ./tests
83+
- worker: "[email protected]"
84+
pkg: ./tests
85+
mode: experimental
86+
- worker: "[email protected]" # same as docker, but with containerd snapshotter
87+
pkg: ./tests
88+
mode: experimental
7989
- worker: "[email protected]"
8090
pkg: ./tests
8191
- worker: "[email protected]" # same as docker, but with containerd snapshotter

Dockerfile

+11-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ARG ALPINE_VERSION=3.21
55
ARG XX_VERSION=1.6.1
66

77
# for testing
8-
ARG DOCKER_VERSION=28.0.0-rc.1
8+
ARG DOCKER_VERSION=28.0.0
9+
ARG DOCKER_VERSION_ALT_27=27.5.1
910
ARG DOCKER_VERSION_ALT_26=26.1.3
1011
ARG DOCKER_CLI_VERSION=${DOCKER_VERSION}
1112
ARG GOTESTSUM_VERSION=v1.12.0
@@ -17,8 +18,10 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
1718
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS golatest
1819
FROM moby/moby-bin:$DOCKER_VERSION AS docker-engine
1920
FROM dockereng/cli-bin:$DOCKER_CLI_VERSION AS docker-cli
20-
FROM moby/moby-bin:$DOCKER_VERSION_ALT_26 AS docker-engine-alt
21-
FROM dockereng/cli-bin:$DOCKER_VERSION_ALT_26 AS docker-cli-alt
21+
FROM moby/moby-bin:$DOCKER_VERSION_ALT_27 AS docker-engine-alt27
22+
FROM moby/moby-bin:$DOCKER_VERSION_ALT_26 AS docker-engine-alt26
23+
FROM dockereng/cli-bin:$DOCKER_VERSION_ALT_27 AS docker-cli-alt27
24+
FROM dockereng/cli-bin:$DOCKER_VERSION_ALT_26 AS docker-cli-alt26
2225
FROM registry:$REGISTRY_VERSION AS registry
2326
FROM moby/buildkit:$BUILDKIT_VERSION AS buildkit
2427
FROM crazymax/undock:$UNDOCK_VERSION AS undock
@@ -127,13 +130,15 @@ COPY --link --from=gotestsum /out /usr/bin/
127130
COPY --link --from=registry /bin/registry /usr/bin/
128131
COPY --link --from=docker-engine / /usr/bin/
129132
COPY --link --from=docker-cli / /usr/bin/
130-
COPY --link --from=docker-engine-alt / /opt/docker-alt-26/
131-
COPY --link --from=docker-cli-alt / /opt/docker-alt-26/
133+
COPY --link --from=docker-engine-alt27 / /opt/docker-alt-27/
134+
COPY --link --from=docker-engine-alt26 / /opt/docker-alt-26/
135+
COPY --link --from=docker-cli-alt27 / /opt/docker-alt-27/
136+
COPY --link --from=docker-cli-alt26 / /opt/docker-alt-26/
132137
COPY --link --from=buildkit /usr/bin/buildkitd /usr/bin/
133138
COPY --link --from=buildkit /usr/bin/buildctl /usr/bin/
134139
COPY --link --from=undock /usr/local/bin/undock /usr/bin/
135140
COPY --link --from=binaries /buildx /usr/bin/
136-
ENV TEST_DOCKER_EXTRA="[email protected]=/opt/docker-alt-26"
141+
ENV TEST_DOCKER_EXTRA="docker@27.5=/opt/docker-alt-27,docker@26.1=/opt/docker-alt-26"
137142

138143
FROM integration-test-base AS integration-test
139144
COPY . .

0 commit comments

Comments
 (0)