FROM ubuntu:20.04 LABEL maintainer="otthorn@crans.org" LABEL description="Ubuntu 20.04 image with django and tox \ installed for testing purposes" # fix tzdata prompt RUN ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone RUN apt-get update \ && apt-get install --no-install-recommends -y \ python3-django python3-django-crispy-forms \ python3-django-extensions python3-django-filters \ python3-django-polymorphic \ python3-djangorestframework python3-django-oauth-toolkit \ python3-psycopg2 python3-pil \ python3-babel python3-lockfile python3-pip python3-phonenumbers \ python3-memcache \ python3-bs4 python3-setuptools tox texlive-xetex \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*