Skip to content

Switch to debian base to eliminate duplicate python#287

Merged
pSpitzner merged 3 commits intorelease/2.0.0from
removed_python_container_inherit
Mar 13, 2026
Merged

Switch to debian base to eliminate duplicate python#287
pSpitzner merged 3 commits intorelease/2.0.0from
removed_python_container_inherit

Conversation

@semohr
Copy link
Collaborator

@semohr semohr commented Mar 10, 2026

Removes duplicate Python binaries by switching the base image from python:3.12-slim-trixie to debian:trixie-slim, and installing a single, controlled Python version (uv).

The previous image included two Python executables (one from the base image, one copied from builder), causing confusion. This change ensures only one Python binary is present.

see also #257, #256 and #286 (comment)

@semohr semohr force-pushed the removed_python_container_inherit branch from 7a42efc to 62ffe8b Compare March 13, 2026 12:14
semohr added 2 commits March 13, 2026 13:15
environment:
- commands run as root are prefixed with an activate
- commands run as beetle automatically activate using .bashrc
@semohr semohr force-pushed the removed_python_container_inherit branch from 62ffe8b to 085bbb9 Compare March 13, 2026 12:16
…mages

in the dockerfile (yes it builds directly on debian:trixie-slim, but search replace)
@pSpitzner pSpitzner merged commit 46049ee into release/2.0.0 Mar 13, 2026
2 checks passed
@pSpitzner pSpitzner deleted the removed_python_container_inherit branch March 13, 2026 15:17
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