docker-playground/sctp-test/Dockerfile

28 lines
573 B
Docker

FROM debian-jessie-build
MAINTAINER Harald Welte <laforge@gnumonks.org>
RUN apt-get update && apt-get install -y \
bison flex
COPY *.patch /tmp/
RUN git config --global user.email "nobody@localhost" && \
git config --global user.name "Docker Container"
WORKDIR /tmp
RUN git clone https://github.com/nplab/packetdrill && \
cd packetdrill && \
git am /tmp/*.patch && \
cd gtests/net/packetdrill && \
./configure && \
make && \
cp packetdrill /usr/bin/
RUN git clone https://github.com/nplab/ETSI-SCTP-Conformance-Testsuite.git
COPY run /tmp/run
CMD /tmp/run