Skip to content

Commit 224f3e0

Browse files
Fixes
1 parent 76aca66 commit 224f3e0

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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)
66
FROM mcr.microsoft.com/devcontainers/python:3.12-bookworm
77

88
# Set build arguments
@@ -20,9 +20,9 @@ ENV PYTHONUNBUFFERED=1 \
2020
USER root
2121
RUN --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 \

.devcontainer/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
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": {

0 commit comments

Comments
 (0)