Skip to content

Commit b62b740

Browse files
heliocastrotsteenbe
authored andcommitted
docker: Set Android SDK directory to be read and writable for all users
When installing Android packages neither as root nor the `ort` default user, it is necessary that all users have read and write permissions in the the SDK directory and all its subdirectories. Signed-off-by: Helio Chissini de Castro <heliocastro@gmail.com>
1 parent a7720c5 commit b62b740

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ ENV ANDROID_HOME=/opt/android-sdk
330330
COPY --from=androidbuild /usr/bin/repo /usr/bin/
331331
COPY --from=androidbuild /etc/profile.d/android.sh /etc/profile.d/
332332
COPY --chown=$USERNAME:$USERNAME --from=androidbuild ${ANDROID_HOME} ${ANDROID_HOME}
333-
RUN chmod o+rw ${ANDROID_HOME}
333+
RUN chmod -R o+rw ${ANDROID_HOME}
334334

335335
# External repositories for SBT
336336
ARG SBT_VERSION=1.6.1

0 commit comments

Comments
 (0)