From d71c9df797d3a35e4fd2a27a506ba0cc9b62f004 Mon Sep 17 00:00:00 2001 From: yamap55 <1785817+yamap55@users.noreply.github.com> Date: Sun, 18 Jan 2026 12:44:01 +0900 Subject: [PATCH] chore: use python image --- .devcontainer/Dockerfile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c6f25e0..90e4ab5 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/devcontainers/base:ubuntu +FROM mcr.microsoft.com/devcontainers/python:3.14-bookworm ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Asia/Tokyo @@ -47,19 +47,6 @@ RUN wget --progress=dot:giga https://github.com/hadolint/hadolint/releases/lates # ----------- Base setup complete ----------- -# Install Python -ARG PYTHON_VERSION=3.14 -RUN apt-get update \ - && apt-get install --no-install-recommends -y software-properties-common \ - && add-apt-repository -y ppa:deadsnakes/ppa \ - && apt-get update \ - && apt-get install --no-install-recommends -y python${PYTHON_VERSION} python${PYTHON_VERSION}-dev \ - && apt-get autoremove -y \ - && apt-get clean -y \ - && rm -rf /var/lib/apt/lists/* \ - && ln -sf /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 \ - && ln -sf /usr/bin/python${PYTHON_VERSION} /usr/bin/python - # pyright install RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install --no-install-recommends -y nodejs \