Skip to content

Commit 87440ec

Browse files
committed
[stream-refactor] Debian Docker container image initctl
1 parent f45d8ea commit 87440ec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/image_prep/build_docker_images.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ def sh(s, *args):
2626

2727
for base_image, label in [
2828
('astj/centos5-vault', 'centos5'), # Python 2.4.3
29-
('debian:stretch', 'debian'), # Python 2.7.13, 3.5.3
29+
# Debian containers later than debuerreotype/debuerreotype#48 no longer
30+
# ship a stub 'initctl', causing (apparently) the Ansible service
31+
# module run at the end of DebOps to trigger a full stop/start of SSHd.
32+
# When SSHd is killed, Docker responds by destroying the container.
33+
# Proper solution is to include a full /bin/init; Docker --init doesn't
34+
# help. In the meantime, just use a fixed older version.
35+
('debian:stretch-20181112', 'debian'), # Python 2.7.13, 3.5.3
3036
('centos:6', 'centos6'), # Python 2.6.6
3137
('centos:7', 'centos7') # Python 2.7.5
3238
]:

0 commit comments

Comments
 (0)