File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1515 libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper \
1616 libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev \
1717 valac libtss2-dev libsecret-1-dev libjsoncpp-dev \
18+ gcc-mingw-w64-x86-64 \
1819 && rm -rf /var/lib/apt/lists/*
1920
2021SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
@@ -34,6 +35,16 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
3435 && cargo install cargo-ndk \
3536 && chmod -R a+rwX "$CARGO_HOME" "$RUSTUP_HOME"
3637
38+ ENV ANDROID_NDK_ROOT=/opt/android-ndk-r28 \
39+ ANDROID_NDK_HOME=/opt/android-ndk-r28
40+
41+ RUN curl -fsSL https://dl.google.com/android/repository/android-ndk-r28-linux.zip \
42+ -o /tmp/android-ndk.zip \
43+ && echo "a186b67e8810cb949514925e4f7a2255548fb55f5e9b0824a6430d012c1b695b /tmp/android-ndk.zip" | sha256sum -c \
44+ && unzip -q /tmp/android-ndk.zip -d /opt \
45+ && mv /opt/android-ndk-r28 "$ANDROID_NDK_ROOT" \
46+ && rm /tmp/android-ndk.zip
47+
3748ENV FLUTTER_HOME=/opt/flutter \
3849 PATH=/opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin:$PATH
3950
You can’t perform that action at this time.
0 commit comments