-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy pubspec.lock file #4
Comments
We need to handle the cases where there is a |
@jonasfj's comment referred to the example for the Dart Functions Framework. I think we chose originally not to copy Regarding using |
Re ONBUILD: we're all in agreement on this. Nobody is arguing for ONBUILD it just happens that the old images used this. I think production apps would use lockfiles. Otherwise, your deployment may pick up a different dependency resolution from what passed testing just because someone published a new, potentially broken, version of one of your dependencies. |
Yes, for apps the recommendation is to checkin |
This is probably what we want:
|
Sounds like we all agree that apps should have the |
Because |
Yes. 👍 |
The examples for the official image use |
Opening to track a codereview comment by @jonasfj:
We probably should copy in both pubspec.yaml and pubspec.lock.
Assuming the idea is to make a layer that can be cached and reuse when rebuilding the image.
@athomas pointed out that the old image did: ONBUILD ADD pubspec.* /app/
The text was updated successfully, but these errors were encountered: