document Dockerfile

This commit is contained in:
Naveenraj M
2020-04-01 00:27:38 +05:30
parent b980813ffe
commit 0241680a99

View File

@ -1,10 +1,11 @@
# Using CentOS 7 with Node 12 as base image to support rpmbuild
# Using CentOS 7 as base image to support rpmbuild (packages will be Dist el7)
FROM centos:7
# Copying all contents of rpmbuild repo inside container
COPY . .
# Installing tools needed for rpmbuild , depends on specfile
# Installing tools needed for rpmbuild ,
# depends on BuildRequires field in specfile, (TODO: take as input & install)
RUN yum install -y rpm-build rpmdevtools gcc make coreutils python
# Setting up node to run our JS file