pythonTest/python/.devcontainer/Dockerfile

12 lines
311 B
Docker

FROM python:3.11-slim
# Benutzer 'vscode' mit UID/GID 1000 anlegen (standardmäßig für VS Code Dev Container)
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
&& useradd -m -u 1000 -g 1000 vscode \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
USER vscode