This repository has been archived by the owner on Jan 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up docker build for cent 7 package
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM centos:centos7 | ||
|
||
RUN yum clean all | ||
|
||
RUN yum install -y epel-release | ||
|
||
RUN yum clean all | ||
|
||
RUN yum install -y curl m4 make gcc gcc-c++ rpm-build zlib-devel openssl-devel libyaml-devel autoconf | ||
|
||
RUN mkdir -p /usr/src/ruby \ | ||
&& curl -L http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.bz2 | tar -xjC /usr/src/ruby --strip-components=1 \ | ||
&& cd /usr/src/ruby \ | ||
&& autoconf \ | ||
&& ./configure \ | ||
&& make \ | ||
&& make install \ | ||
&& rm -r /usr/src/ruby | ||
|
||
RUN gem install bundler | ||
|
||
ADD archive.tar /sensu-build |
This file contains 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