FROM debian:bullseye ENV DEBIAN_FRONTEND noninteractive RUN apt update RUN apt install -y git supervisor emacs-nox virtualenv procps RUN apt clean WORKDIR /opt/ RUN git clone https://git.sunet.se/soc_collector.git /opt/collector WORKDIR /opt/collector/ COPY setup.sh /opt/collector/ COPY supervisord.conf /etc/supervisor/ RUN /opt/collector/setup.sh ENTRYPOINT supervisord -c /etc/supervisor/supervisord.conf