diff --git a/Dockerfile b/Dockerfile index f661f8feebccbb127b57bdcf6994fb474b9c18a3..f6458bb67049af67f432e83dca6d5ed1d3e09f6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \ # Flutter on arch currently has warnings because channel and repository source are not set RUN if [ "$(uname -m)" = "aarch64" ]; then \ - git clone https://github.com/flutter/flutter.git ${FLUTTER_DIR} \ + git clone --depth 1 https://github.com/flutter/flutter.git ${FLUTTER_DIR} \ && cd ${FLUTTER_DIR} \ && git fetch origin tag ${FLUTTER_VERSION} \ && git checkout tags/${FLUTTER_VERSION} \