FROM ubuntu:bionic

ADD docker/docker-apt-install /usr/local/bin/docker-apt-install
RUN docker-apt-install \
        gir1.2-gtk-3.0 \
        gir1.2-notify-0.7 \
        libnotify4 \
        python3-gi \
        python3-dbus \
        python3-nacl \
        python3-requests-oauthlib \
        python3-future \
        python3-dateutil \
        python3-repoze.lru \
        python3-pip \
        python3-mock \
        python3-setuptools \
        python3-pytest \
        python3-cryptography \
        python3-qrcode \
        python3-pillow \
        pep8 \
        mypy

ADD . /code
WORKDIR /code
RUN mypy eduvpn --ignore-missing-imports

