Skip to content
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

用 ruby image 取代 ubuntu image 當作基底 #15

Open
gaga5lala opened this issue Dec 22, 2016 · 2 comments
Open

用 ruby image 取代 ubuntu image 當作基底 #15

gaga5lala opened this issue Dec 22, 2016 · 2 comments

Comments

@gaga5lala
Copy link
Contributor

ruby image 已經做了一些安裝設定、容量優化,以 ruby image 為底可以降低 base/Dockerfile 的複雜度,需要擔心的是從 ubuntu 轉成 debian 會不會有相容性的問題。

https://hub.docker.com/_/ruby/

https://github.com/docker-library/ruby/blob/c9208def0c430de0144408e16140bd49254c4ca9/2.3/Dockerfile

@huacnlee
Copy link
Member

base image 里面有许多特定的事情,就算用了 ruby image 作为基础,还是需要定制

@gaga5lala
Copy link
Contributor Author

@huacnlee

結構會變成

  • ruby:2.3.3
  • base
  • homeland

將安裝 ruby 及 bundler 的任務交由 ruby:2.3.3,base image 可以專心負責特定的任務

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

No branches or pull requests

2 participants