Created
September 6, 2018 10:38
-
-
Save ohadlevy/bcad11df0b67d502fd4a6870acd0e686 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
RUN echo "tsflags=nodocs" >> /etc/yum.conf && \ | |
yum -y install epel-release && \ | |
curl -sL https://rpm.nodesource.com/setup_10.x | bash - && \ | |
yum -y install which crudini git git-annex obal tito mock scl-utils-build nodejs jq && \ | |
yum clean all | |
RUN git clone https://github.com/theforeman/foreman-packaging -b rpm/develop | |
RUN cd foreman-packaging ; git annex init ; ./setup_sources.sh | |
RUN npm install -g npm2rpm | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to build:
put the Dockerfile and type
then execute
docker run --interactive --rm -t build /bin/bash
inside you would find a /foreman_packaging folder