You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Currently, Cloudflow relies on sbt-docker internally(e.g. the operator image) and for the buildApp task of the sbt plugin.
This causes small issues, especially with caches, such as buildApp task needs to be run after a clean when you change Cloudflow version (I can confirm that this is automatically solved by sbt-native-packager).
Also sbt-native-packager is a more widely used and maintained project.
Our dependency on sbt-docker is the extraction of the digest that can be replaced by something like:
Oh, cloudflow was using sbt-native-packager, but I guess it was changed at some point?
One thing to keep an eye out if we do this is that the images are still built efficiently. The app artifacts should be in a single layer so only 1 small layer change is required for each new image push. sbt-native-packager (IIRC) puts all artifacts in a single directory (including dependencies) which can result in a bigger layer every time the app is changed.
This has been a topic of some debate to make this functionality the default in sbt-native-packager for Docker targets. sbt/sbt-native-packager#1310
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, Cloudflow relies on sbt-docker internally(e.g. the operator image) and for the
buildApp
task of the sbt plugin.This causes small issues, especially with caches, such as
buildApp
task needs to be run after aclean
when you change Cloudflow version (I can confirm that this is automatically solved by sbt-native-packager).Also
sbt-native-packager
is a more widely used and maintained project.Our dependency on
sbt-docker
is the extraction of the digest that can be replaced by something like:On the downside this is going to be a breaking change for the user.
The text was updated successfully, but these errors were encountered: