Docker images for ci testing
Switch branches/tags
Nothing to show
Clone or download
radarhere Merge pull request #35 from python-pillow/rm-sudo
'sudo: required' no longer required
Latest commit e41968c Nov 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pillow @ 0ac1472 Upgrade Pillow -> 5.3.0 Oct 8, 2018
alpine Extract test.sh into files rather than inline Jun 15, 2018
amazon-1-amd64 Extract test.sh into files rather than inline Jun 15, 2018
amazon-2-amd64 Extract test.sh into files rather than inline Jun 15, 2018
arch Extract test.sh into files rather than inline Jun 15, 2018
centos-6-amd64 Extract test.sh into files rather than inline Jun 15, 2018
centos-7-amd64 Extract test.sh into files rather than inline Jun 15, 2018
debian-stretch-x86 Extract test.sh into files rather than inline Jun 15, 2018
fedora-24-amd64 Extract test.sh into files rather than inline Jun 15, 2018
fedora-25-amd64 Extract test.sh into files rather than inline Jun 15, 2018
fedora-26-amd64 Extract test.sh into files rather than inline Jun 15, 2018
fedora-27-amd64 Extract test.sh into files rather than inline Jun 15, 2018
ubuntu-precise-amd64 Extract test.sh into files rather than inline Jun 15, 2018
ubuntu-trusty-x86 Extract test.sh into files rather than inline Jun 15, 2018
ubuntu-xenial-amd64 Extract test.sh into files rather than inline Jun 15, 2018
.editorconfig Add EditorConfig http://editorconfig.org Jun 15, 2018
.gitignore Test with pytest instead of nose Dec 23, 2017
.gitmodules Switched Pillow back to master, updating to 5.1.0 Apr 2, 2018
.travis.yml 'sudo: required' no longer required Nov 20, 2018
Makefile removed EOL distros from Makefile [ci skip] Dec 20, 2017
Makefile.sub Extract test.sh into files rather than inline Jun 15, 2018
README.md Trigger a build Nov 8, 2017

README.md

Docker Images for the Pillow Test Infrastructure

Build Status

Getting Started

The makefiles rely on being logged into to Docker Hub to properly scope the image tag.

git clone https://github.com/python-pillow/docker-images.git
cd docker-images
git submodule init
git submodule update
# update all the base images
make update
# build all of the test images
make build
# build and run the test suite on all the images
make test
# Push to Docker Hub
make push

Building Individual Environments

All the makefile commands work in the individual directories.

cd alpine && make update && make && make test

If a shell would be useful in the environment, make shell will start the container with bash.

Adding New Environments

  • Make a new directory for the platform
  • ln -s ../Makefile.sub Makefile
  • Write a simple update script to install the original image.
  • Write/customize a Docker file. The convention is that the Pillow directory will be mounted at /Pillow, and the test script will run as the pillow user. Sudo is not available at test time.