summaryrefslogtreecommitdiffstats
path: root/dist/rpm-builder-Dockerfile
diff options
context:
space:
mode:
authorHarel Ben Attia <harel@harels-mbp.mynet>2017-04-05 08:40:47 +0300
committerHarel Ben Attia <harel@harels-mbp.mynet>2017-04-05 08:40:47 +0300
commitc324cadbcee431eaad5f9091855c47ed3d5529a0 (patch)
tree4cf3197db470b7e053a20b2b911ec2cc62305047 /dist/rpm-builder-Dockerfile
parent28f997dfe393bd9bb7eb4137a9b87ccd12e19da4 (diff)
WIP
Diffstat (limited to 'dist/rpm-builder-Dockerfile')
-rw-r--r--dist/rpm-builder-Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/dist/rpm-builder-Dockerfile b/dist/rpm-builder-Dockerfile
new file mode 100644
index 0000000..dafcd1e
--- /dev/null
+++ b/dist/rpm-builder-Dockerfile
@@ -0,0 +1,12 @@
+
+FROM centos:centos6
+
+RUN yum install -y which curl gcc make rpm rpm-build
+
+RUN curl -sSL https://get.rvm.io | bash
+
+RUN /bin/bash -l -c "rvm install 2.4.1" && /bin/bash -l -c "gem install ronn"
+
+ENTRYPOINT "/bin/bash"
+
+