From f055f7c19ba81163d6eb1298bd0e5eb4a394d094 Mon Sep 17 00:00:00 2001 From: balaclava-guy Date: Sat, 2 Aug 2025 21:26:49 +0100 Subject: [PATCH] make all cmdline-tools executable I needed to use apkanalyzer but it is non-executable in the container --- docker/base.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index d65c78c..740a18e 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -19,7 +19,7 @@ RUN apk upgrade && \ mv ${ANDROID_SDK_ROOT}/cmdline-tools/* ${ANDROID_SDK_ROOT}/cmdline-tools/${CMDLINE_VERSION} && \ mkdir -p ~/.android/ && \ touch ~/.android/repositories.cfg && \ - chmod +x ${ANDROID_SDK_ROOT}/cmdline-tools/${CMDLINE_VERSION}/bin/sdkmanager && \ + chmod +x ${ANDROID_SDK_ROOT}/cmdline-tools/${CMDLINE_VERSION}/bin/* && \ yes | sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --licenses && \ sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --install "platform-tools" "extras;google;instantapps" @@ -27,4 +27,5 @@ COPY ./extras /bin WORKDIR /home/android -CMD ["/bin/bash"] \ No newline at end of file + +CMD ["/bin/bash"]