Docker test container for travis login (#3732)

This commit is contained in:
Amit Rout
2020-08-21 05:00:39 +05:30
committed by GitHub
parent 2e5a781b28
commit 0f4abad232

View File

@@ -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