Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building through docker #20

Open
akbwyfc opened this issue Jul 4, 2024 · 0 comments
Open

building through docker #20

akbwyfc opened this issue Jul 4, 2024 · 0 comments

Comments

@akbwyfc
Copy link

akbwyfc commented Jul 4, 2024

Hi All,

I'm new to Tristan-MP and docker as well.
I'm trying to build the code through docker, but I receive the error:
=> ERROR [ 6/12] RUN useradd -ms /bin/zsh root 0.2s

[ 6/12] RUN useradd -ms /bin/zsh root:
0.159 useradd: user 'root' already exists


Dockerfile:19

17 | rm -rf /var/lib/log/*
18 |
19 | >>> RUN useradd -ms /bin/zsh $USERNAME
20 | RUN usermod -aG sudo $USERNAME
21 | RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

ERROR: failed to solve: process "/bin/sh -c useradd -ms /bin/zsh $USERNAME" did not complete successfully: exit code: 9
ERROR: Service 'tristanv2' failed to build : Build failed

Thanks in advance for your help.
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant