-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker test container for travis login
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Dockerfile to bootstrap build and test in openshift-ci | ||
|
||
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 | ||
|
||
RUN yum -y install sudo make wget gcc git httpd-tools ruby ruby-devel gcc-c++ patch \ | ||
readline readline-devel zlib zlib-devel libffi-devel openssl-devel make bzip2 \ | ||
autoconf automake libtool bison sqlite-devel | ||
|
||
RUN sudo curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - | ||
RUN sleep 5 | ||
RUN sudo curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - | ||
|
||
RUN curl -L get.rvm.io | bash -s stable | ||
|
||
RUN source /etc/profile.d/rvm.sh \ | ||
rvm reload | ||
|
||
RUN rvm requirements run | ||
RUN rvm install 2.7 | ||
|
||
RUN ruby --version | ||
|
||
RUN gem install travis --pre --no-document |