-
Notifications
You must be signed in to change notification settings - Fork 4
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
using multi-stage build #27
Conversation
Dumb question-- why the separate |
|
Ah-- delete it if it's dead? |
CI builds failing [ERROR] Bad checksum for |
moved all the dependencies to another container seveneng/databox-ocaml-base, maybe worth transferring it under me-box? |
Not sure breaking this out is a good idea. |
True, I don't think we expect all Databox components to depend on such set of packages. For now, maybe only export-service and store-timeseries could benefit from this. What I want it to be, is a union of all the dependencies that components developed in OCaml are in need of. To serve as a caching of pre-install deps, this largely cuts down the build time, both locally and in the docker hub too, in the case of export-service, it's the time of downloading and compiling ~80 deps and for store-timeseries, it's ~120 deps. If moving this under me-box/ is not a good idea, I think I could keep this under my own namespace then. I find it smooth the image building process quite a lot. (that or my machine is just too old and slow 😓 ) And thanks for the reminder of |
I wonder if it would be worth suggesting to the OCaml folks that they might
produce a auto-built Docker image that contains as many packages installed
as possible? Could be a large image though, and updating too frequently.
I guess the concern I have about creating such a thing is the case where
dependencies are updated but the consumer doesn't notice they're not
picking up the updates. I think I'm being overly concerned though. It does
save a lot of time. Go ahead and move it under the me-box org. We'll see
how it goes.
…On 5 September 2017 at 22:10, Qi LI ***@***.***> wrote:
True, I don't think we expect all Databox components to depend on such set
of packages. For now, maybe only export-service and store-timeseries could
benefit from this. What I want it to be, is a union of all the dependencies
that components developed in OCaml are in need of. To serve as a caching of
pre-install deps, this largely cuts down the build time, both locally and
in the docker hub too, in the case of export-service, it's the time of
downloading and compiling ~80 deps and for store-timeseries, it's ~120 deps.
If moving this under me-box/ is not a good idea, I think I could keep this
under my own namespace then. I find it smooth the image building process
quite a lot. *(that or my machine is just too old and slow 😓 )*
And thanks for the remind of apk update line, I'll update it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKP4P7tFmOKARnMB24wgYwaFigpUni5ks5sfbjOgaJpZM4PD9Wc>
.
--
Richard Mortier
mort@cantab.net
|
for me-box/databox#83