dockerfiles/xmpp-ci/Dockerfile

19 lines
374 B
Docker
Raw Normal View History

2022-08-22 18:28:36 +02:00
FROM alpine:3.16
2022-08-24 10:03:23 +02:00
COPY entrypoint.sh /entrypoint.sh
2022-08-22 18:28:36 +02:00
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"]