forked from netenglabs/suzieq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (20 loc) · 792 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ARG version
FROM suzieq-base:$version AS compiler
ARG version
RUN mkdir -p /suzieq/
WORKDIR /suzieq
COPY ./dist/suzieq-$version-py3-none-any.whl /tmp/
RUN pip install /tmp//suzieq-$version-py3-none-any.whl
COPY suzieq/config/etc/suzieq-cfg.yml /root/.suzieq/suzieq-cfg.yml
# Certificates and such for REST server
#COPY logo-small.jpg /suzieq
# Copy parquet files for demo
# COPY ./parquet /suzieq/parquet
WORKDIR /suzieq
ENV PATH=/root/.local/bin:$PATH:/root/.local/lib/python3.7/site-packages/suzieq/cli/:/root/.local/lib/python3.7/site-packages/suzieq/poller/:/root/.local/lib/python3.7/site-packages/suzieq/restServer
#ENV PYTHONPATH=/src/python-nubia
ENTRYPOINT ["/bin/bash"]
# USER 1001
LABEL name=suzieq
LABEL version=$version
LABEL description="Network Observability Tool"