mirror of
https://github.com/stucki/docker-lineageos
synced 2024-12-19 17:12:29 -05:00
Accept any user and group IDs, even if they already exist
This commit is contained in:
parent
4175e4d5e3
commit
6385abfd0a
@ -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