contrib/packaging/docker/fedora.template
author Yuya Nishihara <yuya@tcha.org>
Sun, 15 Mar 2020 15:12:44 +0900
changeset 44589 fc1fa3a07af6
parent 43359 e66a3bfcb19b
permissions -rw-r--r--
templater: introduce wrapper for smartset (API) I want to add a template function which takes a revset as an argument: {somefunc(..., revset(...))} ^^^^^^^^^^^ evaluates to a revslist This wrapper will provide a method to get an underlying smartset. It should also be good for performance since count(revset(...)) will no longer have to fully consume the smartset for example, but that isn't the point of this change.

FROM fedora:%OS_RELEASE%

RUN groupadd -g 1000 build && \
    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build

RUN dnf install -y \
	gcc \
	gettext \
	make \
	python3-devel \
	python3-docutils \
	rpm-build

# For creating repo meta data
RUN dnf install -y createrepo