chore: Use Debian base for notebook image#440
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Kubeflow notebook runtime image to use a glibc-based Debian base image, improving compatibility for OpenCode agent workflows and making it easier to install/use common tooling.
Changes:
- Switch the Kubeflow runtime stage base image from Alpine to
debian:bookworm-slim. - Replace Alpine
apktooling and Alpine-specific glibc-compat setup (gcompat/LD_PRELOAD) with Debianapt-getinstalls. - Update
jovyanuser creation to use Debian-friendlygroupadd/useraddwhile preserving UID/GID 1000.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #439
Summary
debian:bookworm-slimto use glibc instead of Alpine/musl.apt, includingjq,python3,python3-pip,build-essential,pkg-config,unzip, and archive utilities.gcompat/LD_PRELOADand switchjovyancreation to Debiangroupadd/useradd.Verification
docker build -f docker/kubeflow/Dockerfile --platform linux/amd64 --build-arg OPENCODE_VERSION=1.15.7 --build-arg S6_OVERLAY_VERSION=3.1.6.2 -t pk-opencode-debian-test .docker run --rm --entrypoint /bin/bash pk-opencode-debian-test -lc 'set -e; id jovyan; getent passwd jovyan; ldd --version | head -1; bun --version; opencode --version; git --version; gh --version | head -1; rg --version | head -1; jq --version; python3 --version; gcc --version | head -1'\n- Started the container with s6 entrypoint for a smoke test and confirmed cont-init and OpenCode startup reached database migration/API startup logs.