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:
parent
de575b73d6
commit
5aa929c97a
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user