aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 2b627e687ac08d77a3eef68baa64590a2c5e4097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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

COPY configure-mirror /usr/local/bin
RUN /usr/local/bin/configure-mirror && \
    yum update -y && \
    yum install -y \
	yum-utils \
        https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
	&& \
    /usr/local/bin/configure-mirror && \
    yum install -y \
	fedora-packager tito \
	autoconf automake libtool \
	make cmake meson ninja-build \
	gcc gcc-c++ binutils \
	glibc-devel openssl-devel \
	bc flex bison \
	&& \
    yum clean all -y