mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 04:13:50 +00:00
document Dockerfile
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user