Index: .travis/prepare-docker.sh |
diff --git a/.travis/prepare-docker.sh b/.travis/prepare-docker.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6fb57abd666a74ac95e3dc8b2397c9270fe8bc8d |
--- /dev/null |
+++ b/.travis/prepare-docker.sh |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/env bash |
+ |
+set -x |
+set -e |
+ |
+docker --version |
+ |
+mkdir -p third_party/phusion-baseimage-docker |
+pushd third_party/phusion-baseimage-docker |
+git init |
+git fetch https://github.com/phusion/baseimage-docker.git |
+git checkout -b master 06e2983ba995c2e5684f8414b861425c7f5e6369 |
+docker build --rm -t my-base-ubuntu-image ./image |
+popd |
+ |
+docker build --rm --build-arg buildtype=${BUILDTYPE} -f .travis/Dockerfile -t adblockpluscore-test-image . |
+ |