FROM debian:buster
RUN useradd -d /home/matemat -m matemat
RUN apt-get update -qy
RUN apt-get install -y --no-install-recommends git docker.io python3-dev python3-pip python3-coverage python3-setuptools build-essential
RUN usermod -aG docker matemat
RUN pip3 install wheel pycodestyle mypy
WORKDIR /home/matemat
USER matemat