contrib/packaging/docker/fedora28
author Georges Racinet <georges.racinet@octobus.net>
Wed, 12 Jun 2019 14:31:41 +0100
changeset 42736 b6f3f704a561
parent 38561 600d8d9b8551
permissions -rw-r--r--
rust-discovery: read the index from a repo passed at init This makes the API of the Rust PartialDiscovery object now the same (or rather a subset) of the Python object, hence easier to control through module policy down the road. Differential Revision: https://phab.mercurial-scm.org/D6517
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38561
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
FROM fedora:28
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 \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    10
	python-devel \
600d8d9b8551 packaging: add fedora 28
Augie Fackler <augie@google.com>
parents:
diff changeset
    11
	python-docutils \
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