Dockerfile_tcp 489 Bytes
Newer Older
rna's avatar
rna committed
1
FROM gcc:8
Andreas Schmidt's avatar
Andreas Schmidt committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

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

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install --yes --force-yes \
    bc \
    cmake \
    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
17
COPY docker/sysctl.conf /etc/sysctl.d/01-disable-ipv6.conf
Andreas Schmidt's avatar
Andreas Schmidt committed
18 19 20 21 22 23 24 25 26 27

WORKDIR /prrt

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

VOLUME /output

ENTRYPOINT ["/entrypoint.sh"]