mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 14:36:17 -04:00
Container: Allow duplicate group id.
The image build would otherwise fail if the user's group id already exists in the base image.
This commit is contained in:
parent
4c0e3c835c
commit
4d22f558ba
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN git clone https://github.com/rfjakob/gocryptfs.git \
|
|||
&& ./build-without-openssl.bash
|
||||
RUN cp $(go env GOPATH | cut -f1 -d:)/bin/gocryptfs /usr/local/bin/
|
||||
|
||||
RUN groupadd -g $groupid $username \
|
||||
RUN groupadd --non-unique --gid $groupid $username \
|
||||
&& useradd --create-home --shell /bin/bash --uid $userid --gid $groupid $username \
|
||||
&& echo $username >/root/username \
|
||||
&& echo "export USER="$username >>/home/$username/.gitconfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue