mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -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
@ -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…
Reference in New Issue
Block a user