equal
deleted
inserted
replaced
1 FROM centos:centos7 |
1 FROM centos:centos7 |
2 |
2 |
3 RUN groupadd -g %GID% build && \ |
3 RUN groupadd -g %GID% build && \ |
4 useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build |
4 useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build |
5 |
5 |
|
6 RUN yum install -y epel-release |
6 RUN yum install -y \ |
7 RUN yum install -y \ |
7 gcc \ |
8 gcc \ |
8 gettext \ |
9 gettext \ |
9 make \ |
10 make \ |
10 python-devel \ |
11 python3-devel \ |
11 python-docutils \ |
12 python36-docutils \ |
12 rpm-build \ |
13 rpm-build \ |
13 tar |
14 tar |
14 |
15 |
15 # For creating repo meta data |
16 # For creating repo meta data |
16 RUN yum install -y createrepo |
17 RUN yum install -y createrepo |