aboutsummaryrefslogtreecommitdiffstats
path: root/sctp-test/Dockerfile
blob: fe5db70b4fe3dda6e2df85773c200bf583ce3c90 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
ARG	USER
FROM	$USER/debian-jessie-build

MAINTAINER Harald Welte <laforge@gnumonks.org>

RUN	apt-get update && \
	apt-get install -y --no-install-recommends \
		ca-certificates \
		bison \
		flex && \
	apt-get clean

COPY *.patch /tmp/

RUN	git config --global user.email "nobody@localhost" && \
	git config --global user.name "Docker Container"

WORKDIR	/tmp

# Commit from 2018-08-28
RUN	git clone https://github.com/nplab/packetdrill && \
	cd packetdrill && \
	git checkout 89bb4f35393187d0d34a84170de529d688421be7 && \
	git am /tmp/*.patch && \
	cd gtests/net/packetdrill && \
	./configure && \
	make && \
	cp packetdrill /usr/bin/

# Commit from 2018-06-03
RUN	git clone https://github.com/nplab/ETSI-SCTP-Conformance-Testsuite.git && \
	cd "ETSI-SCTP-Conformance-Testsuite" && \
	git checkout 24768461f9b9be36a2a5e4b767c7afb749e3243f

COPY	run /tmp/run

CMD	/tmp/run