Skip to content

Commit 47924ee

Browse files
committed
ci: move devcontainer base image from bullseye to bookworm
The digest-pinned python:3.9-slim image is built on Debian bullseye, whose security packages now 404 on deb.debian.org, so the devcontainer-build check fails at apt-get install. Pin python:3.9-slim-bookworm (Python 3.9.25) instead. Bookworm's adduser no longer creates a home directory for --system users, so pass --home /home/vscode explicitly; the dev setup step writes to ~/.bashrc. Assisted-by: ClaudeCode:claude-opus-5-5
1 parent 8a7942a commit 47924ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.devcontainer/Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
1+
FROM python:3.9-slim-bookworm@sha256:a02e9c5406c416c504d6c9a1a306ff4080c3173f1008d192f953bd20382a2d5c
22

33
ENV PATH /usr/local/bin:$PATH
4-
ENV PYTHON_VERSION 3.9.17
4+
ENV PYTHON_VERSION 3.9.25
55

66
RUN \
7-
adduser --system --disabled-password --shell /bin/bash vscode && \
7+
adduser --system --home /home/vscode --disabled-password --shell /bin/bash vscode && \
88
# install docker
99
apt-get update && \
1010
apt-get install ca-certificates curl gnupg lsb-release -y && \

0 commit comments

Comments
 (0)