docs: base images support Fedora/RHEL/Arch/Alpine (drop Debian-only restriction) - #313
docs: base images support Fedora/RHEL/Arch/Alpine (drop Debian-only restriction)#313tomassrnka wants to merge 1 commit into
Conversation
…Debian-only The base-image page stated "E2B currently supports only Debian-based images … Alpine, RedHat-based … not supported." That's no longer true — the orchestrator now identifies the distro from /etc/os-release and provisions Debian/Ubuntu, Fedora + RHEL family (Rocky/Alma via ID_LIKE), Arch, and Alpine (infra #3381, proven on real KVM). Correct the restriction to an accurate supported-set note, and add the new fromFedoraImage/fromAlpineImage/fromArchImage (and Python from_*_image) convenience helpers to the examples (SDK: E2B #1612). Images with no identifiable distro (no /etc/os-release: scratch/distroless/ pure nixos-nix) and minimal images missing required packages (UBI-minimal) are called out as rejected-with-a-clear-error.
PR SummaryLow Risk Overview Reviewed by Cursor Bugbot for commit b73ffb9. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b73ffb9. Configure here.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|

What
Corrects
docs/template/base-image.mdx. It stated verbatim "E2B currently supports only Debian-based images … Alpine, RedHat-based … not supported" — now false./etc/os-releaseand supports Debian/Ubuntu, Fedora + RHEL family (Rocky/AlmaLinux viaID_LIKE), Arch, Alpine. No-os-releaseimages (scratch/distroless/purenixos/nix) and minimal-repo images (UBI-minimal) are rejected with a clear error.fromFedoraImage/fromAlpineImage/fromArchImage(+ Pythonfrom_*_image) to the convenience-method examples.Merge order — this PR must land after the SDK
This is the last of three pieces:
from*Imagehelpers these examples call.Blocked on #1612. Until that ships, the methods referenced here do not exist in a released SDK, so merging this first would document an API users cannot call. The example versions (
fedora:42,alpine:3.22) match the pinned defaults in #1612.Note: the same text also exists in the private
e2b-dev/docs-privatemirror — worth syncing there too.🤖 Generated with Claude Code