contrib/packaging/docker/fedora.template
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 07 Mar 2024 04:15:23 +0100
changeset 51536 718f28ea3af4
parent 43359 e66a3bfcb19b
permissions -rw-r--r--
branchcache: add a "pure topological head" fast path In a narrow but actually quick common case, all topological heads are all on the same branch and all open. In this case, computing the branch map is very simple. We can quickly detect situation where this situation will not change. So we update the V3 format to be able to express this situation and upgrade the update code to detect we remains in that mode. The branch cache is populated with the actual value when the branch map is accessed, but the update_disk method can do the update without needing to populate it.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43359
e66a3bfcb19b packaging: make dockerrpm fedora target more generic
Mads Kiilerich <mads@kiilerich.com>
parents: 43358
diff changeset
     1
FROM fedora:%OS_RELEASE%
38561
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
RUN groupadd -g 1000 build && \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     6
RUN dnf install -y \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     7
	gcc \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     8
	gettext \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     9
	make \
43358
518655314fc5 packaging: use "python3" for fedora29 ... and as buildrpm default
Mads Kiilerich <mads@kiilerich.com>
parents: 40585
diff changeset
    10
	python3-devel \
518655314fc5 packaging: use "python3" for fedora29 ... and as buildrpm default
Mads Kiilerich <mads@kiilerich.com>
parents: 40585
diff changeset
    11
	python3-docutils \
38561
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    12
	rpm-build
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    13
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    14
# For creating repo meta data
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    15
RUN dnf install -y createrepo