How to use fvm in a flutter-pre-installed docker container without reinstalling flutter? #817
itintouchmk
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use fvm 3.2.1 in a docker container (ghcr.io/cirruslabs/flutter:3.19.5) where flutter is already installed to save time in my build pipelines. The project flutter version in .fvmrc is the same as the installed flutter version. Running fvm use or fvm install or fvm global always results in a full git clone and flutter sdk installation. I saw some discussions where CI env or FVM_USE_GIT_CACHE configuration - relating to fvm global - were mentioned, but nothing of this does change the behavior. I would expect that at least fvm global in a CI environment detects and uses the installed version.
Is there anyone who managed to do this?
Beta Was this translation helpful? Give feedback.
All reactions