forked from SKKU-SecLab/AdFlush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
44 lines (23 loc) · 778 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
40
41
42
43
44
# Use official ubuntu 18.04 as parent image
FROM ubuntu:18.04
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get dist-upgrade -y
RUN mkdir adflush
COPY ./ ./adflush
WORKDIR adflush
RUN apt-get install -y openjdk-11-jdk-headless nodejs nodejs-dev node-gyp npm libssl1.0-dev build-essential autoconf python3.7-dev python3-setuptools zlib1g-dev libffi-dev
CMD ["/bin/bash"]
# apt-get install libbz2-dev liblzma-dev lzma zlib1g-dev
# npm init -y
# npm install fs acorn-loose
# tar -xvzf Python-3.7.17.tgz
# cd Python-3.7.17
# ./configure
# make altinstall
# cd /adflush
# python3.7 -m venv adflushenv
# source adflushenv/bin/activate
# python -m pip install --upgrade pip setuptools
# pip install requests tabulate future
# pip install -r requirements.txt