Skip to content

Commit 8674a9c

Browse files
committed
fix: do not delete flutter's .git
1 parent 0c39e5c commit 8674a9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ USER root
8181

8282
# Flutter
8383
RUN cd /opt \
84-
&& git clone https://github.com/flutter/flutter.git -b alpha --depth 1 \
85-
&& rm -rf /opt/flutter/.git
84+
&& git clone https://github.com/flutter/flutter.git -b alpha --depth 1
8685

8786
ENV PATH=$PATH:/opt/flutter/bin
8887

0 commit comments

Comments
 (0)