FROM 483193324480.dkr.ecr.us-east-1.amazonaws.com/python:3.9-alpine3.13-builder

ARG REVISION
ARG BUILDTIME
LABEL REVISION=${REVISION}
LABEL BUILDTIME=${BUILDTIME}

RUN apk add --update --no-cache make \
    && python -m venv dockerenv && \
    source ./dockerenv/bin/activate && \
    pip install -U pip && \
    pip install wheel && \
    pip wheel --wheel-dir=/app/wheels \
        pylint \
        pytest \
        pytest-cov \
        pytest-forked \
        pytest-pylint \
        pytest-xdist \
        pytest-mock \
        pytest-freezegun \
        pylint-quotes \
        parameterized \
        mypy \
        flake8 \
        moto \
        yapf \
        isort \
        pip-tools \
        colorama \
        ipdb \
        ipython \
        memory_profiler \
        objgraph \
        pympler \
    && rm -rf /var/cache/apk/* \
