Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdanishirfan committed May 10, 2024
1 parent 2e024d7 commit 7811cc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ RUN yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses
RUN $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-30" "build-tools;30.0.3"


# Install Android Studio
RUN wget --quiet --output-document=android-studio.tar.gz \
https://developer.android.com/studio/index.html && \
tar -xf android-studio.tar.gz -C /opt/ && \
rm android-studio.tar.gz

# Add Android Studio binaries to PATH
ENV PATH="$PATH:/opt/android-studio/bin"


RUN flutter doctor

# Accept Android SDK licenses automatically
Expand Down

0 comments on commit 7811cc2

Please sign in to comment.