From 450f0992a09b5ef8cc1aa1df5eafd6826e03c4b8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 7 May 2018 00:39:39 +0200 Subject: [PATCH] Travis: fix Android build by forcing Ubuntu:xenial for container The build fails with newer versions and Ubuntu:latest switched to bionic a few weeks ago. Signed-off-by: Dirk Hohndel --- scripts/android/before_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/android/before_install.sh b/scripts/android/before_install.sh index 000d1a760..14b7cb4ff 100644 --- a/scripts/android/before_install.sh +++ b/scripts/android/before_install.sh @@ -7,7 +7,7 @@ git pull --tags git describe # Ugly, but keeps it running during the build -docker run -v $PWD:/workspace/subsurface --name=builder -w /workspace -d ubuntu /bin/sleep 60m +docker run -v $PWD:/workspace/subsurface --name=builder -w /workspace -d ubuntu:xenial /bin/sleep 60m docker exec -t builder apt-get update # subsurface android build dependencies docker exec -t builder apt-get install -y git cmake autoconf libtool-bin openjdk-8-jdk-headless ant wget unzip python bzip2 pkg-config