##// 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
FROM debian:%CODENAME%
RUN groupadd -g 1000 build && \
useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
RUN apt-get update && apt-get install -y \
build-essential \
debhelper \
devscripts \
dh-python \
less \
python \
python-all-dev \
python-docutils \
unzip \
zip