1
0
mirror of https://github.com/pravets/oscript-images.git synced 2025-10-08 23:01:52 +02:00

Add CMD --help to stebi Dockerfile and simplify test

Co-authored-by: pravets <24823089+pravets@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-10-02 20:31:22 +00:00
parent 6462438e7f
commit c7d3be0cc1
2 changed files with 2 additions and 1 deletions

View File

@@ -9,3 +9,4 @@ LABEL maintainer="Iosif Pravets <i@pravets.ru>"
RUN opm i stebi;
ENTRYPOINT ["stebi"]
CMD ["--help"]

View File

@@ -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"