changeset 38561:600d8d9b8551

packaging: add fedora 28 Differential Revision: https://phab.mercurial-scm.org/D3892
author Augie Fackler <augie@google.com>
date Thu, 05 Jul 2018 01:04:32 -0400
parents bc4bbc42899a
children c88d2c9b00dd
files Makefile contrib/packaging/Makefile contrib/packaging/docker/fedora28
diffstat 3 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jul 05 02:11:06 2018 -0400
+++ b/Makefile	Thu Jul 05 01:04:32 2018 -0400
@@ -176,6 +176,7 @@
   docker-debian-stretch \
   docker-fedora20 \
   docker-fedora21 \
+  docker-fedora28 \
   docker-ubuntu-trusty \
   docker-ubuntu-trusty-ppa \
   docker-ubuntu-xenial \
@@ -186,6 +187,7 @@
   docker-ubuntu-bionic-ppa \
   fedora20 \
   fedora21 \
+  fedora28 \
   linux-wheels \
   linux-wheels-x86_64 \
   linux-wheels-i686 \
--- a/contrib/packaging/Makefile	Thu Jul 05 02:11:06 2018 -0400
+++ b/contrib/packaging/Makefile	Thu Jul 05 01:04:32 2018 -0400
@@ -13,7 +13,8 @@
 
 FEDORA_RELEASES := \
   20 \
-  21
+  21 \
+  28
 
 CENTOS_RELEASES := \
   5 \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/packaging/docker/fedora28	Thu Jul 05 01:04:32 2018 -0400
@@ -0,0 +1,15 @@
+FROM fedora:28
+
+RUN groupadd -g 1000 build && \
+    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
+
+RUN dnf install -y \
+	gcc \
+	gettext \
+	make \
+	python-devel \
+	python-docutils \
+	rpm-build
+
+# For creating repo meta data
+RUN dnf install -y createrepo