Skip to content

Commit 5aa929c

Browse files
committed
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.
1 parent de575b7 commit 5aa929c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" \
1111
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \
1212
echo oracle-java6-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
1313

14+
# /bin/sh points to Dash by default, reconfigure to use bash until Android
15+
# build becomes POSIX compliant
16+
RUN echo "dash dash/sh boolean false" | debconf-set-selections && \
17+
dpkg-reconfigure -p critical dash
18+
1419
# Keep the dependency list as short as reasonable
1520
RUN apt-get update && \
1621
apt-get install -y bc bison bsdmainutils build-essential curl \

0 commit comments

Comments
 (0)