Merge pull request #505 from bfirsh/use-debian-wheezy-base-image

Compile against older version of GLIBC
This commit is contained in:
Aanand Prasad 2014-09-30 17:07:15 -07:00
commit cabe47a379
3 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
FROM ubuntu:14.04
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
FROM debian:wheezy
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git && apt-get clean
RUN useradd -d /home/user -m -s /bin/bash user
WORKDIR /code/
ADD requirements.txt /code/
@ -11,3 +11,5 @@ RUN pip install -r requirements-dev.txt
ADD . /code/
RUN python setup.py install
RUN chown -R user /code/

View File

@ -3,5 +3,5 @@ set -ex
mkdir -p `pwd`/dist
chmod 777 `pwd`/dist
docker build -t fig .
docker run -v `pwd`/dist:/code/dist fig pyinstaller -F bin/fig
docker run -v `pwd`/dist:/code/dist fig dist/fig --version
docker run -u user -v `pwd`/dist:/code/dist fig pyinstaller -F bin/fig
docker run -u user -v `pwd`/dist:/code/dist fig dist/fig --version

View File

@ -7,3 +7,6 @@ build:
- script:
name: run tests
code: script/test
- script:
name: build binary
code: script/build-linux