We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9391f97 commit 9d03efbCopy full SHA for 9d03efb
.devcontainer/Dockerfile
@@ -1,7 +1,11 @@
1
-FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
+ARG PY_VER=3.11
2
+ARG DISTRO=bullseye
3
+FROM mcr.microsoft.com/devcontainers/python:${PY_VER}-${DISTRO}
4
-ENV PATH /usr/local/bin:$PATH
-ENV PYTHON_VERSION 3.9.17
5
+# Avoid warnings by switching to noninteractive
6
+ENV DEBIAN_FRONTEND=noninteractive
7
+
8
+USER root
9
10
RUN \
11
adduser --system --disabled-password --shell /bin/bash vscode && \
0 commit comments