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 5fe2065 commit 8426468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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 nixbld ${USER}

ENV FORCE=1
RUN curl -fsSL https://get.jetpack.io/devbox | bash
Expand Down

0 comments on commit 8426468

Please sign in to comment.