1
0
mirror of https://github.com/docker/cli.git synced 2026-11-01 23:35:23 +03:00

Merge pull request #6793 from thaJeztah/update_e2e

e2e: use docker v29.x dind as default
This commit is contained in:
Sebastiaan van Stijn
2026-02-11 17:17:23 +01:00
committed by GitHub
2 changed files with 2 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ services:
image: 'registry:3'
engine:
image: 'docker:${ENGINE_VERSION:-28}-dind'
image: 'docker:${ENGINE_VERSION:-29}-dind'
privileged: true
command: ['--insecure-registry=registry:5000', '--experimental']
environment:

View File

@@ -2,16 +2,13 @@
# ENGINE_VERSION is the version of the (docker-in-docker) Docker Engine to
# test against.
ARG ENGINE_VERSION=28
ARG ENGINE_VERSION=29
FROM docker:${ENGINE_VERSION}-dind
# the openssh-client update is needed for security reasons when using docker:23.0-dind, currently maintained as an lts by mirantis
RUN apk --no-cache add openssl openssh-client openssh-server shadow && \
apk --no-cache upgrade openssl openssh-client openssh-server && \
# TODO(krissetto): `groupadd` can be removed once we only test against moby >= v24
# see https://github.com/docker-library/docker/pull/470
groupadd -f docker && \
useradd --create-home --shell /bin/sh --password $(head -c32 /dev/urandom | base64) penguin && \
usermod -aG docker penguin && \
ssh-keygen -A