mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Seperate build docker and run docker
This commit is contained in:
parent
b794c906f6
commit
6258e7dcf3
2 changed files with 32 additions and 1 deletions
31
docker/build/Dockerfile
Normal file
31
docker/build/Dockerfile
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# 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 java first, to get a sensible one.
|
||||
RUN yum -y install java-1.8.0-openjdk-devel
|
||||
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue