From 2242235116134e1075b95eb70884f87aa25b4d8e Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 23 Aug 2024 12:18:29 +0000 Subject: [PATCH] fix: use usermod instead of addgroup command --- devbox/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devbox/Dockerfile b/devbox/Dockerfile index 78f114a..ce1b6cd 100644 --- a/devbox/Dockerfile +++ b/devbox/Dockerfile @@ -39,7 +39,7 @@ RUN curl --proto =https --tlsv1.2 -sSf -L https://install.determinate.systems/ni ENV PATH=${PATH}:/nix/var/nix/profiles/default/bin RUN sudo sed -i 's/auto-allocate-uids = true/auto-allocate-uids = false/g' /etc/nix/nix.conf -RUN sudo addgroup ${USER} nixbld +RUN sudo usermod -a -G ${USER} nixbld ENV FORCE=1 RUN curl -fsSL https://get.jetpack.io/devbox | bash