Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Anonymous volumes #6

Open
pkill37 opened this issue Nov 17, 2020 · 1 comment
Open

Anonymous volumes #6

pkill37 opened this issue Nov 17, 2020 · 1 comment
Labels
question Further information is requested

Comments

@pkill37
Copy link

pkill37 commented Nov 17, 2020

I am not a Flutter expert, but Flutter writes stuff to special files and directories when installing packages and whatnot.

If one is using Docker images such as this one simultaneously with other environments (other Docker images, or a local installation) then you are not guaranteed a clean slate because you suggest -v "$PWD":/project which mirrors all files between the local environment and the container (including these special files and directories).

Shouldn't you have anonymous volumes for these special files and directories so they are not mirrored by -v "$PWD":/project?

@matsp
Copy link
Owner

matsp commented Nov 19, 2020

If you want to use the docker image as command (with the right alias mapping) it's exactly what you want. Using the flutter cli from the image instead of installing it.

But as always you can do whatever you want with this image. If you just want to build an app for production this is also possible.

@matsp matsp added the question Further information is requested label Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants