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
87
ぼくのかんがえたさいきょうの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
データ鮮度を落とさずに安全にReindexしたい
kotaroooo0
0
83
検索エンジン自作入門 Go Conference 2021 Spring
kotaroooo0
17
7.4k
転置インデックスでどう検索しているか
kotaroooo0
0
310
俺の全文検索エンジン(Go製)を作り始めた
kotaroooo0
0
110
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Facilitating Awesome Meetings
lara
55
6.5k
We Have a Design System, Now What?
morganepeng
53
7.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Code Reviewing Like a Champion
maltzj
525
40k
Documentation Writing (for coders)
carmenintech
73
5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Scaling GitHub
holman
462
140k
Git: the NoSQL Database
bkeepers
PRO
431
65k
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 தؒΠϝʔδܰྔԽ͢Δ