Skip to content

Commit

Permalink
Updated build with rebuilt android-ndk-r10e-linux-x86_64.tar.gz
Browse files Browse the repository at this point in the history
since it was lacking the GCC 4.9 pipeline
  • Loading branch information
mathiaswking committed Oct 7, 2019
1 parent 5869543 commit f79c250
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions server/docker-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ RUN \

ENV ANDROID_PROGUARD=/usr/share/java/proguard.jar

RUN echo "fix for triggering a build of the image"

RUN mkdir -p ${ANDROID_HOME} && \
wget -q -O - ${ANDROID_NDK_URL} | tar xz -C ${ANDROID_ROOT} && \
wget -q -O - ${ANDROID_NDK20_URL} | tar xz -C ${ANDROID_ROOT} && \
Expand All @@ -312,8 +314,13 @@ RUN mkdir -p ${ANDROID_HOME} && \
chmod +r -R ${ANDROID_ROOT} && \
chmod -R 755 ${ANDROID_ROOT}/android-ndk-r${ANDROID_NDK_VERSION} ${ANDROID_ROOT}/android-ndk-r${ANDROID_NDK20_VERSION} && \
cd ${ANDROID_HOME} && \
chown -R extender: ${ANDROID_HOME} && \
ls -la ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/dx # make sure it exists!
chown -R extender: ${ANDROID_HOME}

# make sure the tools exist!
RUN \
ls -la ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/dx && \
which aarch64-linux-android-g++ && \
which arm-linux-androideabi-g++

# Remove the rights again from the extender user
USER root
Expand Down

0 comments on commit f79c250

Please sign in to comment.