diff --git a/python/.devcontainer/Dockerfile b/python/.devcontainer/Dockerfile index 7d6856d..ce6f0fe 100644 --- a/python/.devcontainer/Dockerfile +++ b/python/.devcontainer/Dockerfile @@ -1,9 +1,11 @@ FROM python:3.11-slim -WORKDIR /workspace - -# Optional: Installiere häufig genutzte Tools -RUN apt-get update && apt-get install -y \ +# 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