Skip to content

Commit 755a04a

Browse files
authored
remove apk cache
1 parent f35e871 commit 755a04a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN apk --update add curl wget maven apache-ant gradle bash openjdk8 git && \
1818
apk del wget && \
1919
rm -rf /var/cache/apk/* && \
2020
unzip -q android/tools.zip -d android/ && rm android/tools.zip
21-
RUN apk --no-cache --allow-untrusted -X https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-glibc add glibc glibc-bin
21+
RUN apk --no-cache --allow-untrusted -X https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-glibc add glibc glibc-bin && \
22+
rm -rf /var/cache/apk/*
2223
RUN echo y | android update sdk -a -u -t platform-tools,${ANDROID_APIS},build-tools-${ANDROID_BUILD_TOOLS_VERSION}
2324
RUN chmod a+x -R $ANDROID_HOME
2425
RUN chown -R root:root $ANDROID_HOME

0 commit comments

Comments
 (0)