Skip to content

Commit

Permalink
added dockerfile for travis debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Close committed Dec 8, 2016
1 parent 0b2f92c commit 8e14695
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .travis-debug/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM ubuntu:trusty
MAINTAINER [email protected]

RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y nginx openssh-server git-core openssh-client curl
RUN apt-get install -y build-essential
RUN apt-get install -y openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

RUN useradd -ms /bin/bash travis
USER travis
ENV HOME=/home/travis

# Clone travis
WORKDIR $HOME
RUN git clone https://github.com/travis-ci/travis-build.git

# install RVM, Ruby, and Bundler
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -L https://get.rvm.io | bash -s stable
RUN rvm requirements
RUN rvm install 2.3.1
RUN gem install bundler --no-ri --no-rdoc

# Install travis
WORKDIR $HOME/travis-build
RUN gem install travis
RUN travis
RUN ln -s `pwd` ~/.travis/travis-build
RUN /bin/bash -l -c "bundle install"

# Create build directory
RUN git clone https://github.com/tclose/PyPe9.git
WORKDIR $HOME/pype9
RUN travis compile > ci.sh

0 comments on commit 8e14695

Please sign in to comment.