Skip to content

Commit

Permalink
fix: use usermod instead of addgroup command
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 23, 2024
1 parent 680f994 commit 2242235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2242235

Please sign in to comment.