##// END OF EJS Templates
dockerrpm: always use current user and group...
dockerrpm: always use current user and group Using uid 1000 and gid 1000 works by default in some cases, but 'id -u' and 'id -g' should work in all cases. Differential Revision: https://phab.mercurial-scm.org/D11767

File last commit:

r38477:c8ef9d89 default
r49154:4713bcf7 stable
Show More
debian.template
16 lines | 298 B | text/plain | TextLexer
Gregory Szorc
packaging: don't write files for templatized Dockerfiles...
r38477 FROM debian:%CODENAME%
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
RUN groupadd -g 1000 build && \
useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 RUN apt-get update && apt-get install -y \
build-essential \
debhelper \
devscripts \
dh-python \
less \
python \
python-all-dev \
python-docutils \
unzip \
zip