-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (30 loc) · 909 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
32
33
34
35
36
37
38
39
# syntax=docker/dockerfile:1
FROM python:3.11-slim-buster
EXPOSE 5005
RUN apt-get update && \
apt-get install -y tcpdump git build-essential && \
apt-get install -y procps && \
apt-get install -y gcc mono-mcs && \
apt-get install -y sudo nano vim && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
RUN pip install --pre scapy[basic]
RUN pip install influxdb-client
RUN pip install --upgrade psutil
RUN pip install requests
RUN pip install influxdb3-python
RUN pip install pandas
RUN git clone -b dev https://github.com/fabric-testbed/owl.git
RUN mkdir /owl_output
RUN mkdir /owl_config
RUN gcc -fPIC -shared -o /owl/owl/sock_ops/ptp_time.so \
/owl/owl/sock_ops/ptp_time.c
RUN ls -l /
WORKDIR /owl/owl
### May be needed later
#COPY requirements.txt requirements.txt
#RUN pip3 install -r requirements.txt
# For debugging
RUN pwd
RUN ls -lh *
ENTRYPOINT [ "python3" ]