Skip to content
Snippets Groups Projects
Commit 44739cb6 authored by Steve Lhomme's avatar Steve Lhomme Committed by Marvin Scholz
Browse files

vlc-debian-android-3.0: Use a variable to store the sdk-tools name

Similar to b4207fa0 for 3.0
parent f55d90d2
No related branches found
No related tags found
No related merge requests found
...@@ -44,11 +44,12 @@ RUN groupadd --gid ${VIDEOLAN_CI_UID} videolan && \ ...@@ -44,11 +44,12 @@ RUN groupadd --gid ${VIDEOLAN_CI_UID} videolan && \
mkdir "licenses" && \ mkdir "licenses" && \
echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "licenses/android-sdk-license" && \ echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "licenses/android-sdk-license" && \
echo "d56f5187479451eabf01fb78af6dfcb131a6481e" >> "licenses/android-sdk-license" && \ echo "d56f5187479451eabf01fb78af6dfcb131a6481e" >> "licenses/android-sdk-license" && \
wget -q https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip && \ SDK_TOOLS_FILENAME=sdk-tools-linux-3859397.zip && \
wget -q https://dl.google.com/android/repository/$SDK_TOOLS_FILENAME && \
SDK_TOOLS_SHA256=444e22ce8ca0f67353bda4b85175ed3731cae3ffa695ca18119cbacef1c1bea0 && \ SDK_TOOLS_SHA256=444e22ce8ca0f67353bda4b85175ed3731cae3ffa695ca18119cbacef1c1bea0 && \
echo $SDK_TOOLS_SHA256 sdk-tools-linux-3859397.zip | sha256sum -c && \ echo $SDK_TOOLS_SHA256 $SDK_TOOLS_FILENAME | sha256sum -c && \
unzip sdk-tools-linux-3859397.zip && \ unzip $SDK_TOOLS_FILENAME && \
rm -f sdk-tools-linux-3859397.zip && \ rm -f $SDK_TOOLS_FILENAME && \
tools/bin/sdkmanager "build-tools;26.0.1" "platform-tools" "platforms;android-26" && \ tools/bin/sdkmanager "build-tools;26.0.1" "platform-tools" "platforms;android-26" && \
chown -R videolan /sdk && \ chown -R videolan /sdk && \
mkdir /build && cd /build && \ mkdir /build && cd /build && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment