-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
40 lines (40 loc) · 1.03 KB
/
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
40
# This image is intended to be run with the appropriate certs mounted in
# /wehe/ssl.
FROM python:2.7-alpine3.10
MAINTAINER Fangfan Li <[email protected]>, Harsh Modi <[email protected]>
RUN pip install --upgrade pip
RUN apk add --no-cache gcc \
libc-dev \
linux-headers \
mariadb-connector-c-dev \
python-dev \
freetype-dev \
py-numpy \
py-scipy \
build-base \
openblas-dev \
libgfortran \
tcpdump \
wireshark \
tshark \
openssl
RUN pip install --no-cache psutil \
mysqlclient \
tornado==4.2 \
multiprocessing_logging \
netaddr \
future \
timezonefinder==1.5.3 \
gevent \
reverse-geocode \
python-dateutil \
prometheus_client
RUN apk del --purge gcc \
libc-dev \
linux-headers \
build-base
ADD src /wehe
ADD replayTraces /replayTraces
WORKDIR /wehe
# You must provide a local hostname argument when you start this image.
ENTRYPOINT ["/bin/sh", "./startserver.sh"]