#!/bin/bash docker build -t rpm-build - < /tmp/entrypoint \ && chmod +x /tmp/entrypoint ENTRYPOINT ["/tmp/entrypoint"] EOT