Commit graph

2 commits

Author SHA1 Message Date
Derek Higgins
b04d92ed72 refactor: clean up generated Python
- Remove unused get_python_cmd function
- Fix duplicate FROM/WORKDIR statements in base image setup
- Add proper argument count validation
- Some whitespace changes
- Catch errors during cleanup
- Don't cleanup providers.d (the shell version wasn't doing this, maybe
  we should do this in future)

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-07-24 11:32:14 +01:00
Derek Higgins
58435f7579 feat: convert build_container.sh to Python
Conversion from build_container.sh (by cursor/claud-4-sonnet)
o Create new build_container.py
o Maintain backward compatibility

Related: #2870

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-07-24 11:24:15 +01:00