python/.devcontainer/Dockerfile aktualisiert
parent
82c3d1c729
commit
3e576a7300
|
|
@ -2,8 +2,10 @@ FROM python:3.11-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y build-essential
|
RUN apt-get update && apt-get install -y build-essential
|
||||||
|
|
||||||
ARG USERNAME=developer
|
ARG USERNAME=vscode
|
||||||
ARG USER_UID=1000
|
ARG USER_UID=1000
|
||||||
ARG USER_GID=$USER_UID
|
ARG USER_GID=$USER_UID
|
||||||
|
|
||||||
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
|
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
|
||||||
USER $USERNAME
|
USER $USERNAME
|
||||||
|
WORKDIR /workspace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue