-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
46 lines (38 loc) · 1.19 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
41
42
43
44
45
46
#TO BUILD: docker build -t tlsassistant-testbed .
#TO RUN: docker run -p 9000:9000 -p 9001:9001 -p 9002:9002 -p 9003:9003 -p 9004:9004 -p 9005:9005 -p 9006:9006 -p 9007:9007 -t tlsassistant-testbed
FROM ubuntu:18.04
# LABEL maintainer="Emiliano Rizzonelli <[email protected]> and Daniel Franchini <[email protected]>"
RUN apt-get update && apt-get install -y \
wget \
build-essential \
libpcre3 \
libpcre3-dev \
zlib1g \
zlib1g-dev \
libssl-dev \
libgd-dev \
libxml2 \
libxml2-dev \
uuid-dev \
git \
docker.io \
aha \
html2text \
libxml2-utils \
pandoc \
dos2unix \
python-pip \
libexpat1-dev \
geany \
&& pip install --pre tlslite-ng \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /tlsassistant-testbed
COPY ./configs /tlsassistant-testbed/configs
COPY ./dependencies /tlsassistant-testbed/dependencies
COPY ./doc /tlsassistant-testbed/doc
COPY ./prepare.sh /tlsassistant-testbed/prepare.sh
COPY ./run.sh /tlsassistant-testbed/run.sh
RUN chmod +x /tlsassistant-testbed/prepare.sh
RUN chmod +x /tlsassistant-testbed/run.sh
RUN /tlsassistant-testbed/prepare.sh
CMD ["bash", "/tlsassistant-testbed/run.sh"]