Skip to content

Commit 1073025

Browse files
committed
fix: update user creation command in Dockerfile for nomad
1 parent 544a418 commit 1073025

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nomad-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN case "$(uname -m)" in \
2020
;; \
2121
esac
2222

23-
RUN adduser nomad && usermod -aG nomad nomad &&\
23+
RUN useradd -r -m nomad &&\
2424
mkdir -p /opt/nomad && mkdir -p /etc/nomad &&\
2525
chown -R nomad:nomad /opt/nomad /etc/nomad
2626

0 commit comments

Comments
 (0)