FROM alpine:latest RUN apk add --update --no-cache build-base gcc git libffi-dev openssl-dev python3 python3-dev py3-pip && \ if [ ! -e /usr/bin/python ]; then ln -f /usr/bin/python3 /usr/bin/python ; fi && \ if [ ! -e /usr/bin/pip ]; then ln -f /usr/bin/pip3 /usr/bin/pip ; fi && \ yes | pip install --upgrade pip RUN yes | pip install 'buildbot[bundle]' RUN yes | pip install 'buildbot[tls]' RUN yes | pip install 'docker-py' COPY run.sh /bin/ ENTRYPOINT ["/bin/run.sh"]