feat: Update docker file#1225
Conversation
Code Review ✅ Approved 3 resolved / 3 findingsDocker configuration updates optimize image size by removing apt-get cache and improve build clarity with environment variable fixes and dependency installation in the dev stage. All previously identified issues have been resolved. ✅ 3 resolved✅ Bug: Dev stage has no node_modules and no install step
✅ Quality: ENV NEXT_TELEMETRY_DISABLED uses deprecated format
✅ Quality: apt-get cache not cleaned, bloating image layers
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Summary
The previous Alpine-based image was unreliable for some IDE dev containers. This change moves to Debian Bookworm slim, adds ca-certificates so install-idl (git over HTTPS) works inside the image, and defers npm to after the container starts so a failed install no longer blocks the dev container from coming up. Image size may grow slightly, though still in acceptable range.
Changes
Testing