Add Python to Linux and Windows container images#7
Conversation
WalkthroughThis PR adds Python 3 support to both Docker images alongside existing Node.js, Java, and DITA-OT tools. It updates README documentation to reflect the expanded toolset, removes the Docker-based DITA version test, and implements verification steps for installed tools across platforms. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-05-09T18:34:05.068ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
|
@copilot Please try again. |
I'd be happy to help! Could you clarify what you'd like me to try again? The current implementation:
Are you experiencing a specific issue with the build, or would you like me to approach the implementation differently? |
|
📝 Documentation updates detected! New suggestion: Document Python inclusion in Docker images |
|
@copilot Windows build failed. Here's an analysis: Root cause:
Solution: # Replace lines 112–116 in your Dockerfile with:
RUN $PythonVersion = '3.13.1'; `
$PythonMajorMinor = ($PythonVersion -split '\.')[0..1] -join ''; `
$PythonPath = "C:\Program Files\Python$PythonMajorMinor"; `
$PythonScriptsPath = "C:\Program Files\Python$PythonMajorMinor\Scripts"; `
$env:Path = "$PythonPath;$PythonScriptsPath;$env:Path"; `
Write-Host 'Verifying Python installation...'; `
python --version; `
pip --version
Summary of steps to fix:
Update your Dockerfile and rebuild; the process should complete without the CommandNotFoundException. |
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
... Fixed in commit 6228a99. The Windows Dockerfile now recalculates |
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Add Python to Linux and Windows Docker images with verification
Plan:
Summary:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Summary by CodeRabbit
Documentation
Chores
Tests