diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-02-10 15:22:21 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-02-11 15:45:40 +0100 |
commit | 892d910444f7572da9591305dce0e630aeec3104 (patch) | |
tree | 854c514530ef42b1e845705f3af40a4c0b9b9960 /debian-stretch-titan/Dockerfile | |
parent | 73d23109b14aaf2031b60cc06eec3573ae4920bc (diff) |
ttcn3: move prepare code to shared script
Move the git fetch/checkout code and make call to build the testsuite,
to debian-stretch-titan/ttcn3-docker-prepare.sh. In the next patch, I
will extend the script to update deps right before building too (e.g.
because OSMO_TTCN3_BRANCH changed).
Related: OS#5017
Change-Id: I4b5bedf058dc527e821f9b7204c632820e671af9
Diffstat (limited to 'debian-stretch-titan/Dockerfile')
-rw-r--r-- | debian-stretch-titan/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian-stretch-titan/Dockerfile b/debian-stretch-titan/Dockerfile index 39ff76f..daa0f8c 100644 --- a/debian-stretch-titan/Dockerfile +++ b/debian-stretch-titan/Dockerfile @@ -61,3 +61,5 @@ RUN if ! diff -q /tmp/deps-Makefile /osmo-ttcn3-hacks/deps/Makefile; then \ git pull && \ make deps; \ fi + +ADD ttcn3-docker-prepare.sh /usr/local/bin/ttcn3-docker-prepare |