Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Halbartschlager committed Sep 26, 2017
1 parent f19f24d commit d0d4b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gitlab-ci-rn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apt-get update && \
curl \
git \
lftp \
apt-transport-https \
unzip -y && \
apt-get clean

Expand Down Expand Up @@ -51,15 +52,15 @@ ENV ANDROID_BUILD_TOOLS_VERSION build-tools-26.0.1,build-tools-23.0.2,build-tool

ENV ANDROID_SDK_FILENAME android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
ENV ANDROID_SDK_URL http://dl.google.com/android/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-25,android-23
ENV ANDROID_API_LEVELS android-26,android-23
ENV ANDROID_EXTRA_COMPONENTS extra-android-m2repository,extra-google-m2repository
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
wget -q ${ANDROID_SDK_URL} && \
tar -xzf ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter tools,platform-tools,${ANDROID_API_LEVELS},${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter "${ANDROID_EXTRA_COMPONENTS}"


Expand Down
1 change: 1 addition & 0 deletions gitlab-ci-rn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ build:

```


0 comments on commit d0d4b64

Please sign in to comment.