FROM debian:oldoldstable ENV SERVERNAME=geti2p.net ENV SERVERMAIL=example@geti2p.net WORKDIR /var/www/i2p.www ## Install the dependencies #RUN #grep -v security.debian /etc/apt/sources.list > /etc/apt/sources.list.bak && \ #grep -v stretch-updates /etc/apt/sources.list.bak > /etc/apt/sources.list && \ RUN apt-get update && \ apt-get -y install apache2 apache2-utils libapache2-mod-wsgi python2-dev python-pip patch python-virtualenv git python-polib ADD . /var/www/i2p.www ## Start setting up the site RUN rm -rfv env && \ virtualenv --distribute env && \ . env/bin/activate && \ pip install -r etc/reqs.txt && \ patch -p0 -N -r -