rabbit-slide-znz-docker-meetup-kansai-5 2019.11.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rabbit +1 -0
- data/README.md +23 -0
- data/Rakefile +17 -0
- data/config.yaml +21 -0
- data/docker-ruby-image-official.md +103 -0
- data/pdf/docker-meetup-kansai-5-docker-ruby-image-official.pdf +0 -0
- metadata +63 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c419e92dd51cba0b07195f8d4f1b20b8411276b41932b9b6dc8863c9d4842a59
|
4
|
+
data.tar.gz: f9a28bd7e6ff48c87a2df1aa5fdb1c5dd52e86d0e442db484996bf086d9acebc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9e574b02f87c1b5e986aec3eb0d4c93ef271ce8e1df3067d5fa820874db63c665f1d8e9ebaa2b9f7ec684bcebe20edef6708e6e9dda5ae4b99be958613493566
|
7
|
+
data.tar.gz: d738ee04c1cea0c53e4aa733c994869834ffe412346ecd3d8c4d6ffede15e75cba83ea5946e6dee4278a95913fe37f176a0e435ecf40965b59d2d4f421d82d8f
|
data/.rabbit
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
docker-ruby-image-official.md
|
data/README.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Dockerのオフィシャルrubyイメージとは?
|
2
|
+
|
3
|
+
[Docker Meetup Kansai #5 (19.11)](https://dockerkansai.connpass.com/event/152313/)でのLTの発表資料です。
|
4
|
+
|
5
|
+
## For author
|
6
|
+
|
7
|
+
### Show
|
8
|
+
|
9
|
+
rake
|
10
|
+
|
11
|
+
### Publish
|
12
|
+
|
13
|
+
rake publish
|
14
|
+
|
15
|
+
## For viewers
|
16
|
+
|
17
|
+
### Install
|
18
|
+
|
19
|
+
gem install rabbit-slide-znz-docker-meetup-kansai-5
|
20
|
+
|
21
|
+
### Show
|
22
|
+
|
23
|
+
rabbit rabbit-slide-znz-docker-meetup-kansai-5.gem
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require "rabbit/task/slide"
|
2
|
+
|
3
|
+
# Edit ./config.yaml to customize meta data
|
4
|
+
|
5
|
+
spec = nil
|
6
|
+
Rabbit::Task::Slide.new do |task|
|
7
|
+
spec = task.spec
|
8
|
+
# spec.files += Dir.glob("doc/**/*.*")
|
9
|
+
# spec.files -= Dir.glob("private/**/*.*")
|
10
|
+
# spec.add_runtime_dependency("YOUR THEME")
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "Tag #{spec.version}"
|
14
|
+
task :tag do
|
15
|
+
sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
|
16
|
+
sh("git", "push", "--tags")
|
17
|
+
end
|
data/config.yaml
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
id: docker-meetup-kansai-5
|
3
|
+
base_name: docker-ruby-image-official
|
4
|
+
tags:
|
5
|
+
- ruby
|
6
|
+
- docker
|
7
|
+
presentation_date: 2019/11/22
|
8
|
+
version: 2019.11.22
|
9
|
+
licenses: []
|
10
|
+
slideshare_id: dockerruby
|
11
|
+
speaker_deck_id: dockerfalseohuisiyarurubyimezitoha
|
12
|
+
ustream_id:
|
13
|
+
vimeo_id:
|
14
|
+
youtube_id:
|
15
|
+
author:
|
16
|
+
markup_language: :markdown
|
17
|
+
name: Kazuhiro NISHIYAMA
|
18
|
+
email: zn@mbf.nifty.com
|
19
|
+
rubygems_user: znz
|
20
|
+
slideshare_user: znzjp
|
21
|
+
speaker_deck_user: znz
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# Dockerのオフィシャルrubyイメージとは?
|
2
|
+
|
3
|
+
author
|
4
|
+
: Kazuhiro NISHIYAMA
|
5
|
+
|
6
|
+
content-source
|
7
|
+
: Docker Meetup Kansai #5 (19.11)
|
8
|
+
|
9
|
+
date
|
10
|
+
: 2019/11/22
|
11
|
+
|
12
|
+
allotted-time
|
13
|
+
: 5m
|
14
|
+
|
15
|
+
theme
|
16
|
+
: lightning-simple
|
17
|
+
|
18
|
+
# 自己紹介
|
19
|
+
|
20
|
+
- 西山 和広
|
21
|
+
- Ruby のコミッター
|
22
|
+
- twitter, github など: @znz
|
23
|
+
|
24
|
+
# OFFICIAL とは?
|
25
|
+
|
26
|
+
```
|
27
|
+
$ docker search ruby | head -n 8
|
28
|
+
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
|
29
|
+
ruby Ruby is a dyn… 1776 [OK]
|
30
|
+
circleci/ruby Ruby is a dyn… 65
|
31
|
+
starefossen/ruby-node Docker Image… 32 [OK]
|
32
|
+
heroku/ruby Docker Image… 22 [OK]
|
33
|
+
bitnami/ruby Bitnami Ruby 17 [OK]
|
34
|
+
rubylang/ruby Experimental … 17
|
35
|
+
arm32v7/ruby Ruby is a dyn… 9
|
36
|
+
iron/ruby Tiny Ruby ima… 7
|
37
|
+
```
|
38
|
+
|
39
|
+
# OFFICIAL の image
|
40
|
+
|
41
|
+
- <https://github.com/docker-library/ruby>
|
42
|
+
- コミュニティによるメンテナンス
|
43
|
+
- Docker としてのオフィシャル
|
44
|
+
- alpine などにも対応
|
45
|
+
|
46
|
+
# rubylang の image
|
47
|
+
|
48
|
+
- <https://hub.docker.com/u/rubylang/>
|
49
|
+
- Ruby コミッターによるメンテナンス
|
50
|
+
- いくつか種類がある
|
51
|
+
- rubylang/ruby
|
52
|
+
- rubylang/all-ruby
|
53
|
+
- rubylang/rubyfarm
|
54
|
+
|
55
|
+
# rubylang/ruby
|
56
|
+
|
57
|
+
- <https://hub.docker.com/r/rubylang/ruby/>
|
58
|
+
- bundler 周りなどの余計な環境変数を設定していない
|
59
|
+
- OFFICIAL だと設定されている
|
60
|
+
- 主に特定 OS バージョンのみ
|
61
|
+
- 今だと Ubuntu bionic
|
62
|
+
- alpine などに対応する余裕がない
|
63
|
+
|
64
|
+
# ruby/ruby-docker-image
|
65
|
+
|
66
|
+
- <https://github.com/ruby/ruby-docker-images> (rubylang/ruby のソース)
|
67
|
+
- 元は iruby や pycall のテストのため
|
68
|
+
- make install しただけのピュアな状態の Ruby
|
69
|
+
- gem のテストで広く使えるから rubydata/ruby から移籍
|
70
|
+
|
71
|
+
# rubylang/all-ruby
|
72
|
+
|
73
|
+
- 全てのリリースバージョンの ruby を網羅したイメージ
|
74
|
+
- バージョン間の差などを調べるのに便利
|
75
|
+
|
76
|
+
# rubylang/all-ruby 使用例
|
77
|
+
|
78
|
+
```
|
79
|
+
$ docker run -it --rm rubylang/all-ruby \
|
80
|
+
./all-ruby -e 'print("hello")'
|
81
|
+
ruby-0.49 hello
|
82
|
+
...
|
83
|
+
ruby-2.7.0-preview1 hello
|
84
|
+
$ docker run -it --rm rubylang/all-ruby \
|
85
|
+
env ALL_RUBY_SINCE=ruby-2.3 \
|
86
|
+
./all-ruby -e 'p :world'
|
87
|
+
ruby-2.3.0 :world
|
88
|
+
...
|
89
|
+
ruby-2.7.0-preview1 :world
|
90
|
+
```
|
91
|
+
|
92
|
+
# rubylang/rubyfarm
|
93
|
+
|
94
|
+
- bisect 用
|
95
|
+
- 開発版のほぼ全リビジョン
|
96
|
+
- ビルドできないものなどがないだけ
|
97
|
+
|
98
|
+
# まとめ
|
99
|
+
|
100
|
+
- OFFICIAL が品質が高いとは限らない
|
101
|
+
- ソフトウェアの upstream も docker のエキスパートとは限らない
|
102
|
+
- rubylang には色々なイメージがあります
|
103
|
+
- 他のソフトウェアのイメージの状況も知りたいです
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rabbit-slide-znz-docker-meetup-kansai-5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2019.11.22
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kazuhiro NISHIYAMA
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-11-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rabbit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.2
|
27
|
+
description: "[Docker Meetup Kansai #5 (19.11)](https://dockerkansai.connpass.com/event/152313/)でのLTの発表資料です。"
|
28
|
+
email:
|
29
|
+
- zn@mbf.nifty.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rabbit"
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- config.yaml
|
38
|
+
- docker-ruby-image-official.md
|
39
|
+
- pdf/docker-meetup-kansai-5-docker-ruby-image-official.pdf
|
40
|
+
homepage: http://slide.rabbit-shocker.org/authors/znz/docker-meetup-kansai-5/
|
41
|
+
licenses: []
|
42
|
+
metadata: {}
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
requirements: []
|
58
|
+
rubyforge_project:
|
59
|
+
rubygems_version: 2.7.6
|
60
|
+
signing_key:
|
61
|
+
specification_version: 4
|
62
|
+
summary: Dockerのオフィシャルrubyイメージとは?
|
63
|
+
test_files: []
|