FROM alpine # install packages RUN apk add --no-cache tini wget # copy entrypoint COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh # execute ENTRYPOINT ["/sbin/tini", "--"] CMD ["/usr/local/bin/entrypoint.sh"]