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.
This commit is contained in:
Kyle Manna 2014-12-15 15:45:49 -08:00
parent de575b73d6
commit 5aa929c97a

View File

@ -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 && \ 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 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 # Keep the dependency list as short as reasonable
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y bc bison bsdmainutils build-essential curl \ apt-get install -y bc bison bsdmainutils build-essential curl \