From ba64f77e914ee506af0f22030000f913363b8326 Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Wed, 10 Sep 2025 13:03:06 +0200 Subject: [PATCH] [Draft] Test che-machine-exec with cli watcher Signed-off-by: Victor Rubezhny --- build/dockerfiles/assembly.Dockerfile | 2 +- build/scripts/entrypoint-volume.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/dockerfiles/assembly.Dockerfile b/build/dockerfiles/assembly.Dockerfile index a384aa4f8f4..0f2cf596aca 100644 --- a/build/dockerfiles/assembly.Dockerfile +++ b/build/dockerfiles/assembly.Dockerfile @@ -12,7 +12,7 @@ FROM linux-libc-ubi9 as linux-libc-ubi9-content FROM linux-musl as linux-musl-content # https://quay.io/eclipse/che-machine-exec#^7\. -FROM quay.io/eclipse/che-machine-exec:7.56.0 as machine-exec +FROM quay.io/vrubezhny/che-machine-exec:cli-watcher-10 as machine-exec # https://registry.access.redhat.com/ubi8/ubi FROM registry.access.redhat.com/ubi8/ubi:8.10 AS ubi-builder diff --git a/build/scripts/entrypoint-volume.sh b/build/scripts/entrypoint-volume.sh index 2c60f4ac52a..0c6b8e90ce9 100755 --- a/build/scripts/entrypoint-volume.sh +++ b/build/scripts/entrypoint-volume.sh @@ -72,6 +72,8 @@ ls -la /checode/ # Start the machine-exec component in background export MACHINE_EXEC_PORT=3333 nohup /checode/bin/machine-exec --url "0.0.0.0:${MACHINE_EXEC_PORT}" & +echo "ENV at startup:" > /checode/env-dump.txt +env >> /checode/env-dump.txt # Start the checode component based on musl or libc