contrib/packaging/docker/rhel7
raw| 1 | FROM centos:centos7 |
| 2 | |
| 3 | RUN groupadd -g %GID% build && \ |
| 4 | useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build |
| 5 | |
| 6 | RUN yum install -y epel-release |
| 7 | RUN yum install -y \ |
| 8 | gcc \ |
| 9 | gettext \ |
| 10 | make \ |
| 11 | python3-devel \ |
| 12 | python36-docutils \ |
| 13 | rpm-build \ |
| 14 | tar |
| 15 | |
| 16 | # For creating repo meta data |
| 17 | RUN yum install -y createrepo |
| 18 | |
| 19 | # For rust extensions |
| 20 | RUN yum install -y cargo |