Skip to content

Commit 8ced47d

Browse files
committed
Use official docker:dind image instead of custom image
This replaces the custom dockerswarm/dind image with the official dind images, which should provide the same functionality. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent da90bb3 commit 8ced47d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def runTests = { Map settings ->
8484
try {
8585
sh """docker network create ${testNetwork}"""
8686
sh """docker run -d --name ${dindContainerName} -v /tmp --privileged --network ${testNetwork} \\
87-
dockerswarm/dind:${dockerVersion} dockerd -H tcp://0.0.0.0:2375
87+
docker:${dockerVersion}-dind dockerd -H tcp://0.0.0.0:2375
8888
"""
8989
sh """docker run \\
9090
--name ${testContainerName} \\

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ integration-dind: integration-dind-py2 integration-dind-py3
5555
integration-dind-py2: build setup-network
5656
docker rm -vf dpy-dind-py2 || :
5757
docker run -d --network dpy-tests --name dpy-dind-py2 --privileged\
58-
dockerswarm/dind:${TEST_ENGINE_VERSION} dockerd -H tcp://0.0.0.0:2375 --experimental
58+
docker:${TEST_ENGINE_VERSION}-dind dockerd -H tcp://0.0.0.0:2375 --experimental
5959
docker run -t --rm --env="DOCKER_HOST=tcp://dpy-dind-py2:2375" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
6060
--network dpy-tests docker-sdk-python py.test tests/integration
6161
docker rm -vf dpy-dind-py2
@@ -64,7 +64,7 @@ integration-dind-py2: build setup-network
6464
integration-dind-py3: build-py3 setup-network
6565
docker rm -vf dpy-dind-py3 || :
6666
docker run -d --network dpy-tests --name dpy-dind-py3 --privileged\
67-
dockerswarm/dind:${TEST_ENGINE_VERSION} dockerd -H tcp://0.0.0.0:2375 --experimental
67+
docker:${TEST_ENGINE_VERSION}-dind dockerd -H tcp://0.0.0.0:2375 --experimental
6868
docker run -t --rm --env="DOCKER_HOST=tcp://dpy-dind-py3:2375" --env="DOCKER_TEST_API_VERSION=${TEST_API_VERSION}"\
6969
--network dpy-tests docker-sdk-python3 py.test tests/integration
7070
docker rm -vf dpy-dind-py3
@@ -76,7 +76,7 @@ integration-dind-ssl: build-dind-certs build build-py3
7676
docker run -d --env="DOCKER_HOST=tcp://localhost:2375" --env="DOCKER_TLS_VERIFY=1"\
7777
--env="DOCKER_CERT_PATH=/certs" --volumes-from dpy-dind-certs --name dpy-dind-ssl\
7878
--network dpy-tests --network-alias docker -v /tmp --privileged\
79-
dockerswarm/dind:${TEST_ENGINE_VERSION}\
79+
docker:${TEST_ENGINE_VERSION}-dind\
8080
dockerd --tlsverify --tlscacert=/certs/ca.pem --tlscert=/certs/server-cert.pem\
8181
--tlskey=/certs/server-key.pem -H tcp://0.0.0.0:2375 --experimental
8282
docker run -t --rm --volumes-from dpy-dind-ssl --env="DOCKER_HOST=tcp://docker:2375"\

0 commit comments

Comments
 (0)