Create Dockerfile from image. See README for attributions, inspiration and other details.
10K+
FROM alpine:3.14.0
RUN apk --no-cache update && apk add --no-cache python3 wget \
&& wget -q --no-check-certificate https://bootstrap.pypa.io/get-pip.py \
&& apk del wget && python3 get-pip.py && rm -f get-pip.py \
&& pip install -U docker-py pip && yes | pip uninstall pip
COPY entrypoint.py /root/entrypoint.py
ENTRYPOINT ["/root/entrypoint.py"]
CMD ["/bin/sh"]