From c7d3be0cc15cd48068b37cb30163dcc7ee58d491 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 20:31:22 +0000 Subject: [PATCH] Add CMD --help to stebi Dockerfile and simplify test Co-authored-by: pravets <24823089+pravets@users.noreply.github.com> --- src/stebi/Dockerfile | 1 + tests/test-stebi.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stebi/Dockerfile b/src/stebi/Dockerfile index e8f5281..dca4e23 100644 --- a/src/stebi/Dockerfile +++ b/src/stebi/Dockerfile @@ -9,3 +9,4 @@ LABEL maintainer="Iosif Pravets " RUN opm i stebi; ENTRYPOINT ["stebi"] +CMD ["--help"] diff --git a/tests/test-stebi.sh b/tests/test-stebi.sh index f517787..85ba0d2 100755 --- a/tests/test-stebi.sh +++ b/tests/test-stebi.sh @@ -22,7 +22,7 @@ test_stebi_is_running() { local expected actual expected="Приложение: stebi" - actual=$(docker run --rm ${DOCKER_REGISTRY_URL}/${DOCKER_LOGIN}/stebi:latest --help 2>/dev/null | head -n1) + actual=$(docker run --rm ${DOCKER_REGISTRY_URL}/${DOCKER_LOGIN}/stebi:latest 2>/dev/null | head -n1) if assert_eq "$expected" "$actual"; then log_success "stebi is running test passed"