aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: be1ef7e89a03a658ac78b78b0ad4792dcb362a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM centos:7

ENV SUMMARY="CentOS 7 builder" \
    DESCRIPTION="CentOS 7 image for test builds and rpm package builds."

LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
      summary="${SUMMARY}" \
      description="${DESCRIPTION}"

USER root

RUN yum update -y && \
    yum install -y \
	yum-utils \
        https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
	&& \
    yum install -y \
	fedora-packager \
	&& \
    yum clean all -y