From c481959bb502e3d5526ed2e9c14b91d37b0e0857 Mon Sep 17 00:00:00 2001 From: Irfan Danish Date: Fri, 10 May 2024 17:23:03 +0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 368a4cf..10bdb04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,17 +51,7 @@ RUN chmod +x $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager RUN yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses # Install required Android SDK components -RUN $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-30" "build-tools;30.0.3" - -# Install Android NDK -RUN wget --quiet --output-document=android-ndk.zip \ - "https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip" && \ - unzip -q android-ndk.zip -d /opt && \ - rm -rf android-ndk.zip - -# Set environment variables for NDK -ENV ANDROID_NDK_HOME=/opt/android-ndk-${NDK_VERSION} -ENV PATH="$PATH:$ANDROID_NDK_HOME" +RUN $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-30" "build-tools;30.0.3" "ndk;${NDK_VERSION}" RUN flutter doctor