aboutsummaryrefslogtreecommitdiffstats
path: root/sua-test/Dockerfile
blob: 93da5763af7df2e6a2b1500d90a9ddc76e8c0e2d (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
FROM laforge/sigtran-tests

MAINTAINER Harald Welte <laforge@gnumonks.org>

COPY	*.patch /tmp/

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

RUN	cd /tmp && git clone https://github.com/nplab/sua-testtool
ADD	http://git.osmocom.org/nplab/sua-testtool/commit /tmp/commit
RUN	cd /tmp/sua-testtool && \
	git pull && \
	git am /tmp/*.patch && \
	cc -o run-sua-test run-sua-test.c && \
	cp run-sua-test /usr/local/bin/

COPY	dotguile /root/.guile

RUN	mkdir /data

VOLUME	/data

COPY	sua-param-testtool-sgp.scm run-some-sua-sgp-tests /data/

CMD	/data/run-some-sua-sgp-tests