When setting up a build-bot it’s desirable to link against as old a version of libc etc. as you’re likely to want to support.
debian wheezy is a pretty good option here, libc 2.11 / 2.13 is pretty far back, I doubt many people are using older than it on any ‘normal’ platform.

This presumes docker is installed and running.

start up a new wheezy image

host# docker run -i -t --name guest debian:wheezy /bin/bash

update the apt cache

guest# apt-get update

Install python’s

guest# apt-get install python2.7 python3.3

Install pip

guest# apt-get install wget
guest# cd /root
guest# wget https://bootstrap.pypa.io/get-pip.py
guest# python2.7 get-pip.py
guest# python3 get-pip.py

Install git

guest# apt-get install git

Install compilation toolchain

guest# apt-get install build-essential

Install virtualenv

guest# python2 -m pip install virtualenv
guest# python3 -m pip install virtualenv

Exit the docker and save the new image

guest# exit
host# docker stop guest
host# docker commit -m "wheezy with python2.7 & 3.2" -a "Andrew Leech" `docker ps -l -q`  corona/wheezy_python:v1
host# docker images
host# docker rm guest

Register the gitlab-ci runner

host# sudo gitlab-ci-multi-runner register --non-interactive --url https://ci.alelec.net --description "docker_wheezy_python" --registration-token  --executor docker --docker-image "corona/wheezy_python"