diff contrib/packaging/docker/rhel7 @ 48773:6cfa30681a1d

branching: merge with stable
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 15 Feb 2022 20:24:46 -0800
parents contrib/packaging/docker/centos7@25d36300ba8e contrib/packaging/docker/centos7@6387562e68b3
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/packaging/docker/rhel7	Tue Feb 15 20:24:46 2022 -0800
@@ -0,0 +1,20 @@
+FROM centos:centos7
+
+RUN groupadd -g %GID% build && \
+    useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
+
+RUN yum install -y epel-release
+RUN yum install -y \
+	gcc \
+	gettext \
+	make \
+	python3-devel \
+	python36-docutils \
+	rpm-build \
+	tar
+
+# For creating repo meta data
+RUN yum install -y createrepo
+
+# For rust extensions
+RUN yum install -y cargo