You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
Describe the bug
build.sh hangs when docker user has large uid.
To Reproduce
Steps to reproduce the behavior:
sudo useradd biguiduser -u 1952219375 -g sas
sudo usermod -aG Docker biguiduser
sudo su – biguiduser
Then execute the build with this user and see if hangs…
./build.sh --type single --zip /SAS_Viya_deployment_data.zip --addons "auth-demo"
Expected behavior
The container should be build successfully but it hangs on steps 7 of 20
Step 7/20 : RUN useradd --uid ${USER_UID} --gid ${DOCKER_GID} --create-home --shell /bin/bash sas
---> Running in b9068a5a7ebb
Environment (please complete the applicable information):
**Resolution:
Modify the following to sas-container-recipes/Dockerfile with -l in useradd command.
RUN useradd -l --uid ${USER_UID}
--gid ${DOCKER_GID}
--create-home
--shell /bin/bash
sas
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: