Skip to content

fix(devcontainer): update docker base image from bullseye to bookworm - #2870

Merged
RohitKushvaha01 merged 1 commit into
Acode-Foundation:mainfrom
maaz7409:main
Sep 10, 2026
Merged

RohitKushvaha01 merged 1 commit into
Acode-Foundation:mainfrom
maaz7409:main

Conversation

@maaz7409

Copy link
Copy Markdown
Contributor

The image mcr.microsoft.com/devcontainers/java:1-21-bullseye (debian 11) has reached its EOL in late August 2026, which leads to Devcontainer setup failure as given below :

2026-09-10 07:15:56.863Z: #8 2.129 Reading package lists...2026-09-10 07:15:57.314Z: 
2026-09-10 07:15:57.476Z: #8 2.592 E: Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is expired (invalid since 2d 10h 2min 51s). Updates for this repository will not be applied.
2026-09-10 07:15:57.777Z: #8 ERROR: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends     wget     unzip     curl     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
2026-09-10 07:15:57.904Z: ------
 > [base 3/5] RUN apt-get update && apt-get install -y --no-install-recommends     wget     unzip     curl     && rm -rf /var/lib/apt/lists/*:
0.411 Get:1 http://deb.debian.org/debian bullseye InRelease [75.1 kB]2026-09-10 07:15:57.904Z: 
0.428 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
0.428 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.0 kB]
0.667 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8,066 kB]
1.140 Get:5 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]

2.592 E: Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is expired (invalid since 2d 10h 2min 51s). Updates for this repository will not be applied.
------
2026-09-10 07:15:57.905Z: Dockerfile-with-features:23
--------------------
  22 |     
  23 | >>> RUN apt-get update && apt-get install -y --no-install-recommends \
  24 | >>>     wget \
  25 | >>>     unzip \
  26 | >>>     curl \
  27 | >>>     && rm -rf /var/lib/apt/lists/*
  28 |     
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends     wget     unzip     curl     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
2026-09-10 07:15:57.914Z: Stop: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.83.3-1789024493166/Dockerfile-with-features -t vsc-acode-ca861cbd8256f628f90859539eea093c0dd4362aecea353a43a405790b062762 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.83.3-1789024493166 --build-arg _DEV_CONTAINERS_BASE_IMAGE=devcontainer --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/Acode/.devcontainer
2026-09-10 07:15:57.914Z: {"outcome":"error","message":"Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.83.3-1789024493166/Dockerfile-with-features -t vsc-acode-ca861cbd8256f628f90859539eea093c0dd4362aecea353a43a405790b062762 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.83.3-1789024493166 --build-arg _DEV_CONTAINERS_BASE_IMAGE=devcontainer --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/Acode/.devcontainer","description":"An error occurred building the image."}
2026-09-10 07:15:57.915Z: Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.83.3-1789024493166/Dockerfile-with-features -t vsc-acode-ca861cbd8256f628f90859539eea093c0dd4362aecea353a43a405790b062762 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.83.3-1789024493166 --build-arg _DEV_CONTAINERS_BASE_IMAGE=devcontainer --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/Acode/.devcontainer
2026-09-10 07:15:57.915Z:     at K9 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:468:2009)
2026-09-10 07:15:57.916Z:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2026-09-10 07:15:57.917Z:     at async vD (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:1910)
2026-09-10 07:15:57.917Z:     at async RL (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:608)
2026-09-10 07:15:57.918Z:     at async AZ (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:3870)
2026-09-10 07:15:57.918Z:     at async uC (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:4989)
2026-09-10 07:15:57.918Z:     at async L5 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:666:205)
2026-09-10 07:15:57.918Z:     at async G5 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:665:15084)
2026-09-10 07:15:57.918Z:     at async /.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:485:1188
2026-09-10 07:15:57.920Z: devcontainer process exited with exit code 1

====================================== ERROR ====================================
2026-09-10 07:15:57.926Z: Failed to create container.
=================================================================================
2026-09-10 07:15:57.926Z: Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.83.3-1789024493166/Dockerfile-with-features -t vsc-acode-ca861cbd8256f628f90859539eea093c0dd4362aecea353a43a405790b062762 --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.83.3-1789024493166 --build-arg _DEV_CONTAINERS_BASE_IMAGE=devcontainer --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/Acode/.devcontainer
2026-09-10 07:15:57.929Z: Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)

Changing the image to newer version mcr.microsoft.com/devcontainers/java:1-21-bookworm (debian 12) fixes this as it has longer LTS Support.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because the replacement base remains compatible with the existing devcontainer stages and tooling.

Summary

  • Preserves the existing Java version and multi-stage image structure.
  • Keeps the Android SDK, Node.js, Gradle, and standalone development setup unchanged.

Reviews (1) · Last reviewed commit: "Update docker base image from bullseye t..."

@RohitKushvaha01
RohitKushvaha01 added this pull request to the merge queue Sep 10, 2026
Merged via the queue into Acode-Foundation:main with commit a8fa36f Sep 10, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants