##// END OF EJS Templates
dockerlib: allow non-unique uid and gid of $DBUILDUSER (issue4657)...
av6 -
r26888:271a8020 stable
parent child Browse files
Show More
@@ -35,8 +35,8 b' function initcontainer() {'
35 # running docker. This is *very likely* to fail at some point.
35 # running docker. This is *very likely* to fail at some point.
36 echo RUN useradd $DBUILDUSER -u 1000
36 echo RUN useradd $DBUILDUSER -u 1000
37 else
37 else
38 echo RUN groupadd $DBUILDUSER -g `id -g`
38 echo RUN groupadd $DBUILDUSER -g `id -g` --non-unique
39 echo RUN useradd $DBUILDUSER -u `id -u` -g $DBUILDUSER
39 echo RUN useradd $DBUILDUSER -u `id -u` -g $DBUILDUSER --non-unique
40 fi
40 fi
41 ) | $DOCKER build --tag $CONTAINER -
41 ) | $DOCKER build --tag $CONTAINER -
42 }
42 }
General Comments 0
You need to be logged in to leave comments. Login now