Browse Source

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.
4.4-kitkat
Kyle Manna 7 years ago
parent
commit
5aa929c97a
  1. 5
      Dockerfile

5
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 \

Loading…
Cancel
Save