Skip to content

Commit d71c9df

Browse files
committed
chore: use python image
1 parent cbd8cc1 commit d71c9df

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/base:ubuntu
1+
FROM mcr.microsoft.com/devcontainers/python:3.14-bookworm
22

33
ENV DEBIAN_FRONTEND=noninteractive
44
ENV TZ=Asia/Tokyo
@@ -47,19 +47,6 @@ RUN wget --progress=dot:giga https://github.com/hadolint/hadolint/releases/lates
4747

4848
# ----------- Base setup complete -----------
4949

50-
# Install Python
51-
ARG PYTHON_VERSION=3.14
52-
RUN apt-get update \
53-
&& apt-get install --no-install-recommends -y software-properties-common \
54-
&& add-apt-repository -y ppa:deadsnakes/ppa \
55-
&& apt-get update \
56-
&& apt-get install --no-install-recommends -y python${PYTHON_VERSION} python${PYTHON_VERSION}-dev \
57-
&& apt-get autoremove -y \
58-
&& apt-get clean -y \
59-
&& rm -rf /var/lib/apt/lists/* \
60-
&& ln -sf /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 \
61-
&& ln -sf /usr/bin/python${PYTHON_VERSION} /usr/bin/python
62-
6350
# pyright install
6451
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
6552
&& apt-get install --no-install-recommends -y nodejs \

0 commit comments

Comments
 (0)