Skip to content

Commit cdff01a

Browse files
authored
fix android license (#35)
* fix android license Signed-off-by: gengjiawen <[email protected]> * fix android license Signed-off-by: gengjiawen <[email protected]>
1 parent f630752 commit cdff01a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ FROM openjdk:8-slim
33
LABEL Description="This image provides a base Android development environment for React Native, and may be used to run tests."
44

55
# set default build arguments
6-
ARG SDK_VERSION=sdk-tools-linux-3859397.zip
6+
ARG SDK_VERSION=sdk-tools-linux-4333796.zip
77
ARG ANDROID_BUILD_VERSION=28
8-
ARG ANDROID_TOOLS_VERSION=28.0.2
8+
ARG ANDROID_TOOLS_VERSION=28.0.3
99
ARG BUCK_VERSION=2019.01.10.01
1010
ARG NDK_VERSION=17c
1111
ARG WATCHMAN_VERSION=4.9.0
@@ -62,9 +62,9 @@ RUN curl -sS https://dl.google.com/android/repository/${SDK_VERSION} -o /tmp/sdk
6262

6363

6464
# Add android SDK tools
65-
RUN mkdir ~/.android && echo '### User Sources for Android SDK Manager' > ~/.android/repositories.cfg \
65+
RUN cd ~ && mkdir ~/.android && echo '### User Sources for Android SDK Manager' > ~/.android/repositories.cfg \
6666
&& yes | sdkmanager --licenses && sdkmanager --update \
67-
&& sdkmanager "platform-tools" \
67+
&& yes | sdkmanager "platform-tools" \
6868
"emulator" \
6969
"platforms;android-$ANDROID_BUILD_VERSION" \
7070
"build-tools;$ANDROID_TOOLS_VERSION" \

0 commit comments

Comments
 (0)