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

getting error with build the container #53

Open
esshab opened this issue Feb 11, 2021 · 0 comments
Open

getting error with build the container #53

esshab opened this issue Feb 11, 2021 · 0 comments

Comments

@esshab
Copy link

esshab commented Feb 11, 2021

useradd: UID 0 is not unique

[centos@cent01 sas-container-recipes]$ sudo ./build.sh --type single --zip /home/centos/SAS_Viya_deployment_data.zip --mirror-url "http://cent01.fedtst.sashq-d.openstack.sas.com/sas_repos" --addons "auth-demo"

Building Docker Build Container

Sending build context to Docker daemon 39.56MB
Step 1/20 : FROM golang:1.14.0
---> 25c4671a1478
Step 2/20 : ARG USER_UID=1000
---> Using cache
---> 197becc58963
Step 3/20 : ARG DOCKER_GID=997
---> Using cache
---> 53a104c66f70
Step 4/20 : RUN apt-get update && apt-get install -y openjdk-11-jdk-headless ansible && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 31233e08406c
Step 5/20 : RUN go get -x -u gopkg.in/yaml.v2 github.com/docker/docker/api/types github.com/docker/docker/client
---> Using cache
---> 26be5e0ad7a2
Step 6/20 : RUN groupadd --gid ${DOCKER_GID} docker
---> Using cache
---> 66cdc165782e
Step 7/20 : RUN useradd --uid ${USER_UID} --gid ${DOCKER_GID} --create-home --shell /bin/bash sas
---> Running in 6b75dc5daffd
useradd: UID 0 is not unique
The command '/bin/sh -c useradd --uid ${USER_UID} --gid ${DOCKER_GID} --create-home --shell /bin/bash sas' returned a non-zero code: 4

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

1 participant