Skip to content

Commit e8ff61a

Browse files
fix: explicit https flutter fetch (#383)
* fix: explicit https source * try again
1 parent 38b7475 commit e8ff61a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

earthly/flutter/Earthfile

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ INSTALL_FLUTTER:
2222
# And remove below lines to the end of this ELSE-IF block:
2323
GIT CLONE https://github.com/flutter/flutter.git /usr/local/flutter
2424
WORKDIR /usr/local/flutter
25+
# Explicitly fetch from the 'origin' remote (HTTPS). Otherwise may attempt SSH-a
26+
RUN git remote set-url origin https://github.com/flutter/flutter.git
2527
RUN git fetch --unshallow
2628
RUN git checkout tags/$version
2729
WORKDIR /

0 commit comments

Comments
 (0)