Skip to content

Conversation

@TheBay0r
Copy link

Hi @parabuzzle
I was experimenting around with multi stage builds in docker and I'm quite satisfied with the results of it. When using the new Dockerfile the image uncompressed image size of craneoperator drops from 388MB down to 124MB

I'm not a really sure why I need the bundle install in the "running"-container. If I don't put it there, in complains that some gems need to be installed first although they are all available in the vendor/ folder. Maybe you can give me some input on that, since I'm not familiar with ruby/gem!?

Other than that everythings seems to be working fine on my machine 🙂

@parabuzzle
Copy link
Owner

This is awesome! it was on my bucket list to move my stuff to multi-stage builds.. I'll see what's going on with the gem install.. bundler can be finicky.

@TheBay0r
Copy link
Author

@parabuzzle any news about this?

@scones
Copy link
Contributor

scones commented Feb 18, 2019

since i am already stalking this repository:
multistage builds are a good idea.
with ruby 2.6 this might be just unnecessary complexity, as bundler is part of ruby with 2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants