Skip to content

Commit

Permalink
docs: add reason for adding CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
damian-molinski committed Nov 5, 2024
1 parent 72737e1 commit 42520a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions earthly/flutter/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42520a1

Please sign in to comment.