FROM debian:9-slim LABEL maintainer="hanjo@bunix.de" RUN apt-get update && apt-get install -y \ sendxmpp \ && rm -rf /var/lib/apt/lists/* ADD sendxmpp.sh /bin/sendxmpp.sh RUN chmod +x /bin/sendxmpp.sh ENTRYPOINT /bin/sendxmpp.sh