Skip to content

Commit 9d03efb

Browse files
committed
chore: update dockerfile
1 parent 9391f97 commit 9d03efb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
1+
ARG PY_VER=3.11
2+
ARG DISTRO=bullseye
3+
FROM mcr.microsoft.com/devcontainers/python:${PY_VER}-${DISTRO}
24

3-
ENV PATH /usr/local/bin:$PATH
4-
ENV PYTHON_VERSION 3.9.17
5+
# Avoid warnings by switching to noninteractive
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
USER root
59

610
RUN \
711
adduser --system --disabled-password --shell /bin/bash vscode && \

0 commit comments

Comments
 (0)