Dockerfile_tcp 515 Bytes
Newer Older
Andreas Schmidt's avatar
Andreas Schmidt committed
1
FROM gcc:5
Andreas Schmidt's avatar
Andreas Schmidt committed
2
3
4
5
6
7
8
9

MAINTAINER Andreas Schmidt <schmidt@nt.uni-saarland.de>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install --yes --force-yes \
    bc \
    cmake \
rna's avatar
rna committed
10
    iperf3 \
rna's avatar
rna committed
11
    psmisc \
Andreas Schmidt's avatar
Andreas Schmidt committed
12
13
14
15
16
17
18
    traceroute \
    tshark

COPY CMakeLists.txt /prrt/
COPY prrt /prrt/prrt
COPY tests /prrt/tests
COPY docker/entrypoint.sh /
Andreas Schmidt's avatar
Andreas Schmidt committed
19
COPY docker/sysctl.conf /etc/sysctl.d/01-disable-ipv6.conf
Andreas Schmidt's avatar
Andreas Schmidt committed
20
21
22
23
24
25
26
27
28
29

WORKDIR /prrt

RUN cmake -DTCP=1 . \
    && make
ENV PATH /prrt:$PATH

VOLUME /output

ENTRYPOINT ["/entrypoint.sh"]