You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address PR review feedback on container shell toolbox
- Rename _container_id → _container_name throughout (it stores the name
set via --name, not the Docker-assigned container ID)
- Add empty-image guard in _start_container: raise clear RuntimeError
when CONTAINER_IMAGE is not set rather than passing an empty string
to docker run
- Add 30s timeout to docker run subprocess call in _start_container
- Log warning in _stop_container when docker stop fails instead of
silently ignoring a non-zero returncode
- Default _DEFAULT_WORKDIR to /workspace unconditionally (all images
set WORKDIR /workspace; the previous "/" fallback when no workspace
was mounted was inconsistent with the container image defaults)
- Add SPDX headers to container_shell.py, test_container_shell.py,
and all three Dockerfiles that were missing them
- Remove unused importlib import from test_container_shell.py
- Fix dead sast workspace existence check in run_container_shell_demo.sh
(mkdir -p always creates workspace so the old condition was never true;
now checks the actual target path when a specific target is provided)
- Update build_container_images.sh usage comment to include sast
- Clarify malware analysis toolbox prompt: /workspace is bind-mounted
RW from the host, not an isolated environment
- Update README CONTAINER_TIMEOUT defaults to mention sast profile (60s)
- Add test_start_container_rejects_empty_image and
test_stop_container_clears_name_on_failure test cases
0 commit comments