summaryrefslogtreecommitdiff
path: root/docker/collector/Dockerfile
blob: 6a9f5e96457fee3ade549882382083747132425b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:bullseye

ENV DEBIAN_FRONTEND noninteractive

RUN apt update
RUN apt install -y git nginx 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/
COPY nginx.conf /etc/nginx/sites-available/default

RUN /opt/collector/setup.sh

ENTRYPOINT supervisord -c /etc/supervisor/supervisord.conf