We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3fdbc commit 7e4e317Copy full SHA for 7e4e317
2 files changed
Dockerfile
@@ -18,7 +18,6 @@ VOLUME "${GRADLE_HOME}"
18
19
# Copy Android Sdk
20
COPY --from=android_image "${ANDROID_ROOT}" "${ANDROID_ROOT}"
21
-VOLUME "${ANDROID_ROOT}/sdk"
22
23
#
24
WORKDIR "${HOME}"
@@ -28,3 +27,4 @@ ENTRYPOINT ["./entrypoint.sh"]
28
27
# Update sdk on build
29
ONBUILD ARG INSTALL_PACKAGE_LIST
30
ONBUILD RUN ./install.sh ${INSTALL_PACKAGE_LIST}
+ONBUILD VOLUME "${ANDROID_ROOT}/sdk"
tools/install.sh
@@ -10,3 +10,6 @@ else
10
echo "Installing default packages"
11
android_install default-packages.txt
12
fi
13
+
14
+echo "Updating SDK"
15
+android_update
0 commit comments