contrib/packaging/docker/centos7
changeset 45836 de1f4c431619
parent 41234 4c0d4bbdc395
child 45935 eccbfa7e19c0
equal deleted inserted replaced
45835:f38d592f871a 45836:de1f4c431619
     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