forked from brechtm/rinohtype
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
25 lines (21 loc) · 1.08 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM quay.io/travisci/travis-python
MAINTAINER "Brecht Machiels <[email protected]>"
# based on https://github.com/tellisnz/travis-jvm-debug
RUN sudo apt-get -qq update
RUN sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install libc6
USER travis
WORKDIR /home/travis
RUN /bin/bash -lc "\
gem install travis -v 1.8.2 --no-doc --no-ri ; \
gem install bundler ; \
git clone https://github.com/travis-ci/travis-build.git ~/.travis/travis-build ; \
git -C ~/.travis/travis-build checkout ec4f888d3757; \
bundle install --gemfile ~/.travis/travis-build/Gemfile ; \
mkdir build ; \
echo \"export TRAVIS_BUILD_APT_PACKAGE_WHITELIST=https://raw.githubusercontent.com/travis-ci/apt-package-whitelist/master/ubuntu-precise\" >> .bashrc ; \
echo \"export TRAVIS_BUILD_APT_SOURCE_WHITELIST=https://raw.githubusercontent.com/travis-ci/apt-source-whitelist/master/ubuntu.json\" >> .bashrc ; \
echo \"if [ -f ~/.bashrc ] ; then\" >> .bash_profile; \
echo \" source ~/.bashrc \" >> .bash_profile; \
echo \"fi\" >> .bash_profile ;"
WORKDIR /home/travis/build
CMD /bin/bash