Dockerfile 422 Bytes
Newer Older
1 2 3 4
FROM gcc:5

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

5 6 7 8 9 10 11
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install --yes --force-yes \
    bc \
    cmake \
    traceroute \
    tshark
12 13 14 15

COPY CMakeLists.txt /prrt/
COPY prrt /prrt/prrt
COPY tests /prrt/tests
16
COPY docker/entrypoint.sh /
17 18 19 20 21

WORKDIR /prrt

RUN cmake . \
    && make
22
ENV PATH /prrt:$PATH
23 24

VOLUME /output
25 26

ENTRYPOINT ["/entrypoint.sh"]