changeset 8114:7c68aace7e48

bug: verify that dumb-init exists Verify that dumb-init exists and is non-zero size. At some point a dumb-init package was creating a 0 length file for dumb-init.
author John Rouillard <rouilj@ieee.org>
date Wed, 25 Sep 2024 22:15:38 -0400
parents 92367689600a
children 61ffdc71cf46
files scripts/Docker/Dockerfile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/Docker/Dockerfile	Wed Sep 25 21:33:13 2024 -0400
+++ b/scripts/Docker/Dockerfile	Wed Sep 25 22:15:38 2024 -0400
@@ -218,7 +218,8 @@
            install -U $upgrades < /dev/null; \
     else \
         echo "Nothing to pip update"; \
-    fi
+    fi; \
+    test -s /usr/bin/dumb-init
 
 ARG source
 ARG pythonversion

Roundup Issue Tracker: http://roundup-tracker.org/