Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ぼくのかんがえたさいきょうのDocker Build
Search
kotaroooo0
August 27, 2020
0
79
ぼくのかんがえたさいきょうのDocker Build
https://engineer.recruit-lifestyle.co.jp/techblog/2020-09-25-docker-build/
kotaroooo0
August 27, 2020
Tweet
Share
More Decks by kotaroooo0
See All by kotaroooo0
検索エンジン自作入門 Go Conference 2021 Spring
kotaroooo0
17
7.1k
転置インデックスでどう検索しているか
kotaroooo0
0
230
俺の全文検索エンジン(Go製)を作り始めた
kotaroooo0
0
100
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
335
57k
The Language of Interfaces
destraynor
154
24k
4 Signs Your Business is Dying
shpigford
181
21k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Embracing the Ebb and Flow
colly
84
4.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Optimising Largest Contentful Paint
csswizardry
33
3k
Transcript
!LPUBSPPPP ΅͘ͷ͔Μ͕͍͖͑ͨ͞ΐ͏ͷ %PDLFS#VJME
ςʔϚ %PDLFSpMF͕ͳΜͱ͔ॻ͚ΔΑ͏ʹͳͬ ͨ࣌ͷࣗʹ͍͑ͨ͜ͱ
ྑ͍%PDLFS#VJMEͱ w Ϗϧυ͕͍࣌ؒ ˠ$*$%ͷߴԽ w ੜ͞ΕͨΠϝʔδαΠζ͕খ͍͞ ˠ1VTI 1VMMͷߴԽ ˠηΩϡϦςΟͷ্
ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ wϚϧνεςʔδϏϧυͷ w%PDLFS#VJMEͷվળࡦ wμϝͩͬͨࡦ
ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ wϚϧνεςʔδϏϧυͷ w%PDLFS#VJMEͷվળͷํ wμϝͩͬͨࡦ
ඒ༰ҩྍͰͷ%PDLFS#VJME
ϩʔΧϧͰͷ%PDLFSڥ $*Ͱͷ%PDLFSڥ
$*Ͱͷ%PDLFS#VJMEͷͱղܾࡦ $*ͰຖճEPDLFSE͕มΘΔ ˠΩϟογϡ͕Βͳ͍ ղܾࡦ ϏϧυͷͨͼʹΩϟογϡΛޮ͔ͤΔͨΊϦϞʔτ͔ΒΠϝʔδΛ1VMM ˠEPDLFSCVJMEDBDIFGSPNIQCDGSPOUMBUFTU
ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ wϚϧνεςʔδϏϧυͷ w%PDLFS#VJMEͷվળͷํ wμϝͩͬͨࡦ
ϚϧνεςʔδϏϧυͱ '30.Λෳճهड़ͯ͠ɺες ʔδΛ͚Δ NWOQBDLBHFͨ͠ੜ͚ͩ Λ࠷ऴΠϝʔδʹؚΊΔ͜ͱ͕ Ͱ͖Δ (00%✌ ΠϝʔδͷܰྔԽ
ϚϧνεςʔδϏϧυͷͱղܾࡦ w ࠷ऴεςʔδʹΩϟογϡʹར༻Ͱ͖Δใ΄ͱΜͲؚ· Ε͍ͯͳ͍ ղܾࡦ w தؒεςʔδʹλάΛ͚ͯϨδετϦʹ1VTI͢Δ w DBDIFGSPNͰதؒεςʔδશͯΩϟογϡʹར༻͢Δ
ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ wϚϧνεςʔδϏϧυͷ w%PDLFS#VJMEͷվળͷํ wμϝͩͬͨࡦ
Δ͜ͱ w ϏϧυεΫϦϓτ w #VJME,JUΛར༻ w DBDIFGSPNΛར༻ w %PDLFSpMF w
ґଘΠϯετʔϧͱϏϧυΛ͚Δ w ΠϝʔδͷܰྔԽ w EPDLFSJHOPSF w $*ͷઃఆ
#VJME,JUΛར༻ FYQPSU%0$,&3@#6*-%,*5 "(00% ෳεςʔδͷϏϧυฒྻԽ DBDIFGSPNͰͷ֎෦Ωϟογϡͷར༻
DBDIFGSPNΛར༻ &$3ͳͲ֎෦ϨδετϦΛͬͯϨΠϠʔΩϟογ ϡΛޮ͔ͤΔํ๏ ϏϧμʔϨδετϦ͔ΒϝλσʔλͷΈΛऔಘ ͠ɺΩϟογϡώοτͷՄೳੑ͕͋ΔϨΠϠʔͷΈ Λ1VMM͢Δ
DBDIFGSPNΛར༻ ࣄલʹதؒεςʔδʹλάΛ͚ͯϦϞʔτϨδετϦʹ1VTI ͓͔ͯ͠ͳ͍ͱ͍͚ͳ͍ λά͚ 1VTI
DBDIFGSPNΛར༻ "(00% Ωϟογϡ͕ޮ͘Α͏ʹͳΔ #VJME,JU͕ͳ͍࣌ͰEPDLFSQVMM͠ͳ͍ͱΩϟογϡΛ ޮ͔ͤΒΕͳ͔ͬͨ
%PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ͚Δ
%PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ͚Δ ˠ
%PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ͚Δ ˠ
%PDLFSGJMFͰґଘΠϯετʔϧͱϏϧυΛ͚Δ "(00% εςʔδؒͷґଘ͕ͳ͘ͳΓฒྻϏϧυͰ͖Δ ϨΠϠʔΩϟογϡ͕ޮ͖͘͢ͳΔ
ΠϝʔδͷܰྔԽ தؒεςʔδ1VTIͨ͠Γ1VMM͢ΔͷͰΠϝʔδͷܰྔԽΛ͢Δͱྑ͍ IUUQTHJUIVCDPNXBHPPENBOEJWF IUUQTLPUBSPPPPEFWIBUFOBCMPHDPNFOUSZ
EPDLFSJHOPSF EPDLFSJHOPSFΛॻ͘ ༨ܭͳϑΝΠϧEPDLFSEʹૹΒͳ͍Α͏ʹ͢Δ "(00% %PDFLSpMFͷ$01:Έ͍ͨͳ࣌ʹ༨ܭͳϑΝΠϧͷมߋ͕ݕ͞ΕͯΩ ϟογϡ͕ޮ͔ͳ͘ͳΔ͜ͱ͕গͳ͘ͳΔ
ܭଌ มߋલඵఔ มߋޙ Ωϟογϡ͕ޮ͔ͳ͍࣌ ճͳͲ ඵఔ QPNYNMͷมߋ͕ͳ͍࣌ NWOEFQFOEFODZSFTPMWF·ͰΩϟογϡ͕ޮ࣌͘
ඵఔ શͯϨΠϠʔͰΩϟογϡ͕ޮ࣌͘ ඵఔ
ΞδΣϯμ w$*Ͱͷ%PDLFS#VJMEͷ wϚϧνεςʔδϏϧυͷ w%PDLFS#VJMEͷվળͷํ wμϝͩͬͨࡦ
ͩΊͩͬͨࡦ w $PEF#VJMEͷϩʔΧϧΩϟογϡ w 36/NPVOUUZQFDBDIF w #VJMEYʹΑΔϏϧυ
$PEF#VJMEͷϩʔΧϧΩϟογϡ $PEF#VJMEͰϩʔΧϧΩϟογϡػೳ͕͋Γ%PDLFS-BZFS$BDIFϞʔ υ͕͋Δ ˠϩʔΧϧͰͷ%PDLFS#VJMEͷΑ͏ʹϨΠϠʔΩϟογϡΛޮ͔ͤΒΕΔ Ͱɺ͜ͷϩʔΧϧΩϟογϡੜଘ͕͍࣌ؒ͗ͯ͢ʹͳΒͳ͍
36/NPVOUUZQFDBDIF ίϯύΠϥύοέʔδϚωʔδϟͷΩϟογϡΛϚϯτͯ͠ΩϟογϡΛޮ ͔ͤΔ͜ͱ͕Ͱ͖Δ ϩʔΧϧͰϏϧυͯ͠ΈΔͱɺ࣌ؒݮ
36/NPVOUUZQFDBDIF 4ΩϟογϡʹύοέʔδϚωʔδϟ ͷΩϟογϡΛอଘ͓ͯ͠͏ͱͨ͠ ͔͠͠ɺ36/NPVOUUZQFDBDIF EPDLFSEʹґଘ͢ΔͨΊɺ$*ͷΑ ͏ͳEPDLFSE͕ຖճมΘΔڥͰ ༻Ͱ͖ͳ͍Έ͍ͨ
#VJMEYʹΑΔϏϧυ %PDLFS#VJMEY w %PDLFSίϚϯυΛ֦ு͢Δ$-*ϓϥάΠϯ w .PCZ#VJME,JUϏϧμʔπʔϧΩοτʹΑΓఏڙ͞ΕΔػೳʹશରԠ
#VJMEYʹΑΔϏϧυ ˠ
CVJMEYʹΑΔϏϧυ $PEF#VJMEͰ༻ҙ͞Ε͍ͯΔϕʔεΠϝʔδͰ#VJMEY ͑ͳ͍ 6OGPSUVOBUFMZ XFXPOUCFBEEJOHBOZ FYQFSJNFOUBMGFBUVSFT#VJMEYJTTUJMM FYQFSJNFOUBM ΧελϜϕʔεΠϝʔδΛ͑ར༻Ͱ͖Δ͕ɺίεύ͕ ݟ߹ͬͯͳͦ͞͏ͳͷͰΊͨ
·ͱΊ εΫϦϓτ w #VJMEYΛ͑ΔͳΒ͏ w ͑ͳ͍ͳΒDBDIFGSPNͰΰϦԡ͢͠Δ %PDLFSpMF w ґଘΠϯετʔϧͱϏϧυΛ͚Δ w
εςʔδؒͷґଘΛͰ͖Δ͚ͩݮΒ͢ w தؒΠϝʔδܰྔԽ͢Δ