github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/Dockerfile (about) 1 FROM almalinux:9 2 3 ARG REPO="https://yum.eu.choria.io/release/el/release.repo" 4 5 WORKDIR / 6 7 RUN yum -y update && \ 8 yum -y clean all 9 10 RUN curl -s "${REPO}" > /etc/yum.repos.d/choria.repo && \ 11 yum -y install choria nc procps-ng openssl net-tools iproute && \ 12 yum -y clean all 13 14 RUN groupadd --gid 2048 choria && \ 15 useradd -c "Choria Orchestrator - choria.io" -m --uid 2048 --gid 2048 choria && \ 16 chown -R choria:choria /etc/choria && \ 17 mkdir /data && \ 18 chown choria:choria /data && \ 19 rm -f /etc/choria/server.conf 20 21 USER choria 22 VOLUME /data 23 24 ENTRYPOINT ["/usr/bin/choria"]