1
0
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:
Michael Stucki 2017-04-21 12:46:44 +02:00 committed by GitHub
commit 671f02b880

View File

@ -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