Skip to content

chore: build the Actor template on Debian trixie instead of bookworm - #53

Merged
metalwarrior665 merged 1 commit into
masterfrom
claude/rust-templates-trixie-ondpqr
Nov 28, 2026
Merged

metalwarrior665 merged 1 commit into
masterfrom
claude/rust-templates-trixie-ondpqr

Conversation

@metalwarrior665

Copy link
Copy Markdown
Member

Moves templates/actor/Dockerfile from bookworm to trixie.

  • Runtime stage: debian:bookworm-slim → debian:trixie-slim. The Apify Python and Node.js images (apify-actor-docker) are all built on trixie, so its layers are more likely to be cached on the platform. The Dockerfile comment explaining the choice is updated to match.
  • Builder stage: rust:1-slim-bookworm → rust:1-slim-trixie, so the binary is linked against the same glibc as the runtime image.

Testing

  • This template was not built in Docker. The same pair of base images in apify/actor-templates (rust-crawlee-html) was built: the final image is Debian 13.8 and the binary's shared libraries all resolve.

Companion PRs make the same change in apify/crawlee-rs and apify/actor-templates.


Generated by Claude Code

The Apify Python and Node.js images are built on Debian trixie, so trixie-slim layers are more likely to be cached on the platform. The builder stage moves to trixie too, so the binary is linked against the same glibc as the runtime image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016XtpQukDLHkn7iKqd7vEMY
@metalwarrior665
metalwarrior665 merged commit 1e093d2 into master Nov 28, 2026
6 checks passed
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