From 5aa929c97afcbc169eadec9c022fab53a7e14265 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Mon, 15 Dec 2014 15:45:49 -0800 Subject: [PATCH] Dockerfile: Point /bin/sh to bash instead of dash * Per Android build directions. Goal is to support older and random ROM forks that are broken for the forseeable future. --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 91f033c..16f43b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,11 @@ RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \ echo oracle-java6-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections +# /bin/sh points to Dash by default, reconfigure to use bash until Android +# build becomes POSIX compliant +RUN echo "dash dash/sh boolean false" | debconf-set-selections && \ + dpkg-reconfigure -p critical dash + # Keep the dependency list as short as reasonable RUN apt-get update && \ apt-get install -y bc bison bsdmainutils build-essential curl \