Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweaks for cpython, if you need that #1

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions base.docker
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
FROM ubuntu:trusty

RUN echo "deb http://ppa.launchpad.net/pypy/ppa/ubuntu trusty main" > \
/etc/apt/sources.list.d/pypy-ppa.list

RUN apt-key adv --keyserver keyserver.ubuntu.com \
--recv-keys 2862D0785AFACD8C65B23DB0251104D968854915
RUN apt-get update

RUN apt-get install -qyy \
-o APT::Install-Recommends=false -o APT::Install-Suggests=false \
python-virtualenv pypy libffi6 openssl
python-virtualenv libffi6 openssl

RUN virtualenv -p /usr/bin/pypy /appenv
RUN virtualenv -p /usr/bin/python2.7 /appenv
RUN . /appenv/bin/activate; pip install pip==6.0.8
2 changes: 1 addition & 1 deletion build.docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM deployme-base

RUN apt-get install -qy libffi-dev libssl-dev pypy-dev
RUN apt-get install -qy libffi-dev libssl-dev python-dev
RUN . /appenv/bin/activate; \
pip install wheel

Expand Down