mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
29 lines
753 B
Text
29 lines
753 B
Text
|
|
# General build RPM environment for CentOS 6.x
|
||
|
|
#
|
||
|
|
# VERSION 0.0.1
|
||
|
|
|
||
|
|
FROM centos:centos7
|
||
|
|
MAINTAINER Derry Hamilton <derryh@postcodelottery.co.uk>
|
||
|
|
|
||
|
|
# Install up-to-date epel rpm repository
|
||
|
|
RUN yum -y install epel-release
|
||
|
|
|
||
|
|
# Install various packages to get compile environment
|
||
|
|
RUN yum -y groupinstall 'Development Tools'
|
||
|
|
|
||
|
|
# Install git command to access GitHub repository
|
||
|
|
RUN yum -y install git
|
||
|
|
|
||
|
|
# Install rpm-build to use rpmrebuild command
|
||
|
|
RUN yum -y install rpm-build
|
||
|
|
|
||
|
|
# Install yum-utils to use yumdownloader command
|
||
|
|
RUN yum -y install yum-utils
|
||
|
|
|
||
|
|
# Install rpmdevtools to use rpmdev-setuptree command
|
||
|
|
RUN yum -y install rpmdevtools
|
||
|
|
|
||
|
|
# Install rpmdevtools to use rpmdev-setuptree command
|
||
|
|
RUN yum -y install maven
|
||
|
|
RUN mkdir -p /root/rpmbuild/SOURCES
|