Docker to build 3rd party modules


amazonlinux


examples/app/Dockerfile
FROM amazonlinux
RUN yum install -y python36
RUN yum install -y findutils which wget

RUN wget https://bootstrap.pypa.io/get-pip.py && \
    python3 get-pip.py

WORKDIR /opt

docker build -t aws .


rm -rf pypi
docker run -v $(pwd):/opt  --rm aws pip install -r requirements.txt -t pypi


zip -r ../project.zip *