File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 22
33# syntax=docker/dockerfile:1.4
44
5- # Use single-stage build with Python 3.12 (fallback to stable base)
5+ # Use single-stage build with Python 3.12 (simplified base)
66FROM mcr.microsoft.com/devcontainers/python:3.12-bookworm
77
88# Set build arguments
@@ -20,9 +20,9 @@ ENV PYTHONUNBUFFERED=1 \
2020USER root
2121RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
2222 --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
23- apt-get update && \
24- # Remove Python 3 .11 and other versions if they exist
25- apt-get remove -y python3.11* python3-minimal python3.11-minimal || true && \ apt-get autoremove -y && \
23+ apt-get update && \ # Remove Python 3.11 and other versions if they exist
24+ apt-get remove -y python3 .11* python3-minimal python3.11-minimal || true && \
25+ apt-get autoremove -y && \
2626 # Install essential packages including core utilities
2727 apt-get install -y --no-install-recommends \
2828 coreutils \
Original file line number Diff line number Diff line change 2020 "ghcr.io/devcontainers/features/git:1" : {
2121 "version" : " latest" ,
2222 "ppa" : true
23- },
24- "_ghcr.io/devcontainers/features/docker-in-docker:2" : {
25- "version" : " latest" ,
26- "enableNonRootDocker" : " true"
2723 }
24+ // Temporarily disabled docker-in-docker to troubleshoot container startup issues
25+ // "ghcr.io/devcontainers/features/docker-in-docker:2": {
26+ // "version": "latest",
27+ // "enableNonRootDocker": "true"
28+ // }
2829 },
2930 "customizations" : {
3031 "vscode" : {
You can’t perform that action at this time.
0 commit comments