Skip to content

Fix executable not in $PATH in Dockerfile#1259

Merged
gayanW merged 1 commit intomainfrom
LCHIB-721
Mar 18, 2026
Merged

Fix executable not in $PATH in Dockerfile#1259
gayanW merged 1 commit intomainfrom
LCHIB-721

Conversation

@gayanW
Copy link
Contributor

@gayanW gayanW commented Mar 18, 2026

This fixes:

docker run --rm -e SMART_TESTS_TOKEN=$SMART_TESTS_TOKEN cloudbees/smart-tests-cli:v2.5.0 verify
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "smart-tests": executable file not found in $PATH

Key changes:

  • Change to multi-stage build for smaller image size
  • Install the package system-wide using a wheel file instead of installing it into a venv (similar to v1)

@gayanW gayanW requested a review from ono-max March 18, 2026 03:57
@gayanW gayanW merged commit 578c906 into main Mar 18, 2026
2 checks passed
@gayanW gayanW deleted the LCHIB-721 branch March 18, 2026 06:32
@github-actions github-actions bot mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants