Skip to content

Commit 83cd907

Browse files
Fixes Flutter git clone while Flutter 3.29.1 is not out (#362)
* Fixes Flutter git clone while Flutter 3.29.1 is not out * redeploy
1 parent d8d915e commit 83cd907

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sdk/Dockerfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/cirruslabs/android-sdk:34
1+
FROM ghcr.io/cirruslabs/android-sdk:35
22

33
LABEL org.opencontainers.image.source=https://github.com/cirruslabs/docker-images-flutter
44
USER root
@@ -13,6 +13,11 @@ ENV PATH ${PATH}:${FLUTTER_HOME}/bin:${FLUTTER_HOME}/bin/cache/dart-sdk/bin
1313

1414
RUN git clone --depth 1 --branch ${FLUTTER_VERSION} https://github.com/flutter/flutter.git ${FLUTTER_HOME}
1515

16+
# Temporary workaround for https://github.com/flutter/flutter/issues/163308#issuecomment-2676366371
17+
# It will be fixed in Flutter 3.29.1
18+
# Removing this triggers fetching the correct Flutter engine version
19+
RUN cd ${FLUTTER_HOME} && rm engine/src/.gn
20+
1621
RUN yes | flutter doctor --android-licenses \
1722
&& flutter doctor \
1823
&& chown -R root:root ${FLUTTER_HOME}

0 commit comments

Comments
 (0)