dockerfiles/sendxmpp/Dockerfile

19 lines
373 B
Docker
Raw Normal View History

2022-08-22 18:28:36 +02:00
FROM alpine:3.16
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && \
apk add --no-cache go-sendxmpp && \
addgroup \
--gid 10001 \
sendxmpp && \
adduser \
--uid 10000 \
--ingroup sendxmpp \
--disabled-password \
--shell /sbin/nologin \
sendxmpp
USER sendxmpp
ENTRYPOINT ["/entrypoint.sh"]