Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

build error #49

Open
esshab opened this issue Nov 4, 2020 · 1 comment
Open

build error #49

esshab opened this issue Nov 4, 2020 · 1 comment

Comments

@esshab
Copy link

esshab commented Nov 4, 2020

Describe the bug
./build.sh --type single --zip /home/centos/SAS_Viya_deployment_data.zip --addons "auth-demo"

groupadd: invalid group ID 'docker'
The command '/bin/sh -c groupadd --gid ${DOCKER_GID} docker' returned a non-zero code: 3

@Mapreduce2
Copy link

Mapreduce2 commented Nov 5, 2020

We worked around the problem by commenting out the following

RUN groupadd --gid ${DOCKER_GID} docker
RUN useradd --uid ${USER_UID}
--gid ${DOCKER_GID}
--create-home
--shell /bin/bash
sas

and replacing it with

RUN groupadd -g ${DOCKER_GID} docker && useradd -m -u ${DOCKER_GID} -g docker sas

However, why does the existing code fail? I was not able to answer that.

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

No branches or pull requests

2 participants