PyPy is a replacement for CPython. It is built using the RPython language that was co-developed with it. The main reason to use it instead of CPython is speed: it runs generally faster.
This project provides a version of the base centos:7
image (see the
DockerHub centos page) with the current
stable version of pypy-3.6 (v7.3.0) installed into /opt/pypy
.
-
caltechads/pypy36:3.6-v7.3.0
: the latest version of pypy3.6 -
caltechads/pypy36:3.6-v7.3.0-build1
: the specific tag of latest version of the pypy3.6 build ofcaltechads/pypy36:3.6-v7.3.0
-
caltechads/pypy36:3.6-v7.2.0
: the latest version of pypy3.6-v7.2.0 the previous release of pypy3.6 -
caltechads/pypy36:3.6-v7.2.0-build1
: the specific tag of latest version of the pypy3.6 build ofcaltechads/pypy36:3.6-v7.2.0
-
caltechads/pypy36:3.6-v7.1.1
: the latest version of pypy3.6-v7.1.1, an older release of pypy3.6 -
caltechads/pypy36:3.6-v7.1.1-build1
: the specific tag of the latest build ofcaltechads/pypy36:3.6-v7.1.1
You can run the container via
docker-compose up
And then exec into the container like so:
docker exec -ti pypy3 bash
The build takes a loooooong time on Docker Hub -- 1.5 hours -- and the Docker Hub automated build system doesn't like this. So we don't use Docker Hub's "Automated Builds" feature for this like we do on other images. Instead, we build it manually and push.
When you are ready to push a new release to DockerHub, commit
all your changes to master
, then:
pip install -r requirements.txt
bumpversion patch
git checkout build
git merge master
git push --tags origin master build
# The build will take a long time -- 30 min or so
make build
make tag
docker login
# Enter the caltechads credentials
make push