Skip to content
Snippets Groups Projects
Commit 83f48a48 authored by Roger Feese's avatar Roger Feese
Browse files

Add gcompat glibc compatibility layer required by Android build tools.

parent 8a39bf36
Branches
Tags
2 merge requests!107fix android build server aapt2 failure,!106Add gcompat glibc compatibility layer required by Android build tools.
...@@ -17,7 +17,7 @@ ENV ANDROID_HOME /opt/android-sdk-linux ...@@ -17,7 +17,7 @@ ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/cmdline-tools/latest/bin ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/cmdline-tools/latest/bin
WORKDIR /opt WORKDIR /opt
RUN apk add --no-cache curl bash unzip libstdc++ su-exec RUN apk add --no-cache curl bash unzip libstdc++ su-exec gcompat
RUN mkdir -p /opt/android-sdk-linux/cmdline-tools \ RUN mkdir -p /opt/android-sdk-linux/cmdline-tools \
&& curl -q -o commandlinetools.zip -L https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip \ && curl -q -o commandlinetools.zip -L https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip \
&& unzip -q commandlinetools.zip -d ${ANDROID_HOME}/cmdline-tools \ && unzip -q commandlinetools.zip -d ${ANDROID_HOME}/cmdline-tools \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment