From 79f0a559cdb4846835be1f6293704a01ccc155c8 Mon Sep 17 00:00:00 2001 From: ichthoth Date: Tue, 27 Aug 2024 09:21:56 +0100 Subject: [PATCH] added user --- .devcontainer/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cb15767..034e204 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,9 @@ FROM mcr.microsoft.com/devcontainers/base:focal +ARG USERNAME=developer +ARG USER_UID=1001 +ARG USER_GID=$USER_UID + RUN groupadd --gid $USER_GID $USERNAME \ && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \ && apt-get update \