Dockerfile_tcp 430 Bytes
Newer Older
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
FROM gcc:5

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 /

WORKDIR /prrt

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

VOLUME /output

ENTRYPOINT ["/entrypoint.sh"]