##// END OF EJS Templates
packaging: make dockerrpm fedora target more generic...
packaging: make dockerrpm fedora target more generic Fedora moves fast in version numbers, and often with Mercurial packaging being backwards compatible. Thus, only aim for providing built-in support for latest Fedora version, and make it easy to update. With this refactoring, 'dockerrpm fedora31' also works. 'dockerrpm fedora' will use the 'fedora:latest' Docker image.

File last commit:

r38477:c8ef9d89 default
r43676:e66a3bfc stable
Show More
ubuntu.template
16 lines | 298 B | text/plain | TextLexer
FROM ubuntu:%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