Add the ability to run some but not all samples in docker

Also, build containers with --no-cache: distributions like ArchLinux
retire their packages very quickly, need to always use up-to-date
package databases.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman
2018-04-29 23:03:26 -07:00
parent b04bd52270
commit bd60424e09
3 changed files with 47 additions and 17 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
set -e
cd
rm -rf bld-samples
mkdir bld-samples
cd bld-samples
export PATH=$HOME/inst-ctng/bin:$PATH
ct-ng build-all ${1+CT_SAMPLES="$*"}