blob: a62d78e1c346e4f6da6ef669f0ca0fb1c1137a79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
FROM debian:bullseye-20221024-slim@sha256:76cdda8fe5eb597ef5e712e4c9a9f5f1fb119e69f353daaa7bd6d0f6e66e541d
# 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
|