mirror of
https://github.com/stucki/docker-lineageos
synced 2024-12-19 17:12:29 -05:00
Merge pull request #34 from stucki/accept-any-uid-gid
Accept any user and group IDs, even if they already exist
This commit is contained in:
commit
671f02b880
@ -25,8 +25,8 @@ ARG hostuid=1000
|
||||
ARG hostgid=1000
|
||||
|
||||
RUN \
|
||||
groupadd build -g $hostgid && \
|
||||
useradd build -g $hostgid -u $hostuid && \
|
||||
groupadd --gid $hostgid --force build && \
|
||||
useradd --gid $hostgid --uid $hostuid --non-unique build && \
|
||||
rsync -a /etc/skel/ /home/build/
|
||||
|
||||
RUN mkdir /home/build/bin
|
||||
|
Loading…
Reference in New Issue
Block a user