forked from EFForg/https-everywhere
/
Dockerfile
50 lines (45 loc) · 908 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
45
46
47
48
49
50
FROM ubuntu:16.04
# general build deps
RUN apt-get update && apt-get install -y \
sudo \
git \
wget \
build-essential \
zip \
python-dev \
python-pip
RUN pip install \
awscli \
requests \
pycrypto \
argparse
RUN wget https://www.openssl.org/source/old/0.9.x/openssl-0.9.8zg.tar.gz && \
tar zxf openssl-0.9.8zg.tar.gz && \
cd ./openssl-0.9.8zg && \
./config && \
make
# https everywhere deps
# some of them overlap with general deps but it does not matter
# for simplicity this list is a copy of one in ./install-dev-dependencies.sh
RUN apt-get install -y \
libxml2-dev \
libxml2-utils \
libxslt1-dev \
python-dev \
firefox \
chromium-browser \
zip \
sqlite3 \
python-pip \
libcurl4-openssl-dev \
xvfb \
libssl-dev \
git \
chromium-chromedriver
RUN pip install \
lxml>=3.3.3 \
pycurl \
regex \
bsdiff4 \
python-Levenshtein \
selenium