From 42520a1af08f576a53e5817f596eee473c1e3b10 Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Tue, 5 Nov 2024 09:07:47 +0100 Subject: [PATCH] docs: add reason for adding CI env --- earthly/flutter/Earthfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/earthly/flutter/Earthfile b/earthly/flutter/Earthfile index eccb716e..0e78ece8 100644 --- a/earthly/flutter/Earthfile +++ b/earthly/flutter/Earthfile @@ -39,6 +39,8 @@ flutter-base: COPY +flutter-src/flutter /usr/local ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:$HOME/.pub-cache/bin:${PATH}" + # Flutter prints warnings when used by root user but omits them if has CI env flag found. + # script: https://github.com/flutter/flutter/blob/master/bin/internal/shared.sh#L214 ENV CI="true" RUN flutter config --no-analytics RUN flutter --version