Commit 581048f91e9e25e3b17a2906edd8840f35999918

Anthony Green 2019-11-18T13:17:27

Be specific when building CI container images

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/.travis/build.sh b/.travis/build.sh
index 3cb356b..46f08ec 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -70,7 +70,7 @@ function build_cross_linux()
 
 function build_cross()
 {
-    ${DOCKER} run --rm -t -i -v `pwd`:/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" moxielogic/libffi-ci-${HOST}:latest bash -c /opt/.travis/build-cross-in-container.sh
+    ${DOCKER} run --rm -t -i -v `pwd`:/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" docker.io/moxielogic/libffi-ci-${HOST} bash -c /opt/.travis/build-cross-in-container.sh
 
     ./rlgl l https://rl.gl
     ID=$(./rlgl start)