Slide 1

Slide 1 text

%PDLFSCBLFʢͱ$BDIFʣͰ$*$%Λվળ͢Δ 304$"'&%FW0QT Taiyo Minagawa

Slide 2

Slide 2 text

2 ࣗݾ঺հ ● 5BJZP.JOBHBXBΏΔΏΔ ● גࣜձࣾΏΊΈ ● #BDLFOE&OHJOFFSࣗ୐ *OGSB&OHJOFFS ● झຯ ○ υϥΠϒ ○ ཱྀߦ ○ ϒϧʔΞʔΧΠϒ TVOZSZS TVO@ZSZS

Slide 3

Slide 3 text

3 ໨࣍ %PDLFSCBLFͷ঺հ ࣮ࡍͷվળͷ༷ࢠ

Slide 4

Slide 4 text

4 %PDLFSCBLFͷ঺հ ίϯςφԽͯ͠·͔͢ʁ

Slide 5

Slide 5 text

5 %PDLFSCBLFͷ঺հ IUUQTHJUIVCDPNEPDLFSCVJMEYCMPCNBTUFSEPDTSFGFSFODFCVJMEY@CBLFNE

Slide 6

Slide 6 text

6 CBLFͱ͸ • ߴϨϕϧͷϏϧυΦʔέετϨʔγϣϯ • શͯͷΠϝʔδΛ·ͱΊͯߏஙͰ͖Δ • %PDLFSϏϧυͷλεΫϥϯφʔͱͯ͠ଊ͑ΒΕΔ • #VJME,JUͷฒྻԽΛ࠷େݶʹ׆༻͢ΔͨΊͷπʔϧ ෳ਺ͷΠϝʔδΛϏϧυ͢Δ࣌ʹ࢖͏ͱྑ͍πʔϧ

Slide 7

Slide 7 text

7 CBLFͷϝϦοτ • ࠷దͳϏϧυॱΛܭࢉͯ͠ϏϧυΛߦͬͯ͘ΕΔ • Ϗϧυͷॲཧޮ཰্͕͕Δ ϨΠϠʔ̍ ϨΠϠʔ̎ ϨΠϠʔ̏ λʔήοτ" ϨΠϠʔ̍ ϨΠϠʔ̎ λʔήοτ# ϨΠϠʔ̐ ϨΠϠʔ̍ ϨΠϠʔ̎ ϨΠϠʔ̏ λʔήοτ" λʔήοτ# ϨΠϠʔ̐ ˞͜ͷॏෳ࡟আ͸ CVJME,JUͷػೳ

Slide 8

Slide 8 text

8 CBLFͷϝϦοτ • ϏϧυઃఆΛߏ଄తʹఆٛͰ͖Δ • )$- )BTIJ$PSQDPOGJHVSBUJPOMBOHVBHF ͕࢖͑Δ https://github.com/moby/buildkit/blob/master/docker-bake.hcl#L118-L148 variable "GO_VERSION" { default = null } ม਺ function "bindir" { params = [defaultdir] result = DESTDIR != "" ? DESTDIR : "./bin/${defaultdir}" } ؔ਺ name = "lint-${buildtags.name}" จࣈͷຒΊࠐΈʢςϯϓϨʔτϦςϥϧʣ

Slide 9

Slide 9 text

9 CBLFΛطʹ࢖༻͍ͯ͠ΔϓϩδΣΫτ ● NPCZNPCZ ● NPCZCVJMELJU ● EPDLFSCVJMEY ● EVOHMBTGSBOLFOQIQ ● KFOLJOTDJEPDLFS

Slide 10

Slide 10 text

10 ࣄྫ঺հ

Slide 11

Slide 11 text

11 ͱ͋ΔϓϩδΣΫτͷ࿩ ● &$4Ͱ "1*αʔόʔ͕ߏங͞Ε͍ͯΔ ● ݕূ༻ؚΊ໿ݸͷΠϝʔδΛϏϧυ͢Δඞཁ͕͋Δ ● $*$%͸ +FOLJOTΛར༻͍ͯͨ͠ ○ ؀ڥ͸ $*͝ͱʹϦηοτ͞Εͳ͍ ○ উखʹ %PDLFSͷ MBZFSDBDIF͕ޮ͘ͷ͸ϝϦοτͱ΋ݴ͑ͳ͘΋ͳ͍ʢͳ͍ʣ ● σϓϩΠઌ͕ΊͪΌͪ͘Ό͋Δʂ ● ຊ൪؀ڥ΁ͷσϓϩΠ΋ࣗಈԽ͍ͯͯ͠ɺόʔδϣϯλάΛ෇͚Δʢ͜Ε΋ϫʔΫϑϩ ʔΛ༻ҙ͍ͯ͠·͢ʣ͚ͩͰσϓϩΠ͞ΕΔ ● (JU)VC"DUJPOTʹҠߦ͢Δ

Slide 12

Slide 12 text

12 ํ਑ ● $*$%ͷྲྀΕ͸͋·Γ͍͡Βͳ͍ ● (JU)VC"DUJPOT͸ຖճ؀ڥ͕Ϧηοτ͞ΕΔͷͰɺผͷ৔ॴʹ MBZFS DBDIF Λอଘ͢Δ ○ ࠓճ͸ 4Λબͼ·ͨ͠ ○ ͜ͷΩϟογϡͷهड़͕ΊͪΌͪ͘Ό௕͍ͷͰ CBLFͷԸܙ͕ग़͖ͯ·͢

Slide 13

Slide 13 text

13 +FOLJOT࣌୅ͷϏϧυ࣌ؒ ● UYMBSHFʢDPSF(#ʣ ● ෼ʙ෼͘Β͍ ○ " # ͸ฒྻͰ͢ ● গͳ͘ͱ΋ :BSOͷΩϟογϡ͕ޮ͘͸ͣ Ͱ͕͢ɺͳ͔ͥ ճ໨΋ಉ͡Α͏ͳ࣌ؒ ͔͔͍ͬͯΔ ビルドA ビルドB 2回目 3回目 1回目

Slide 14

Slide 14 text

14 (JU)VC"DUJPOTҠߦ CBLFDBDIFCBDLFOE ● LT্ͷ 1PEʢ$PSF(#ʣ ● ฒྻॲཧ͸ CBLFʹ೚ͤΔ

Slide 15

Slide 15 text

15 ҠߦޙͷϏϧυ࣌ؒ ● ͢Έ·ͤΜӕͰ͢ɺͪ͜Β͕ҰൠతͳϏϧυ࣌ؒͰ͢ ● ҰൠతͳΞϓϦέʔγϣϯͷϏϧυఔ౓Ͱ͸ CBLFʹΑΔ଎౓ΞοϓͷԸܙ͸গͳ͍ ○ Ωϟογϡ͕౰ͨͬͨ࣌ͷ଎౓͸ݟҧ͑Δ΄Ͳʹ޲্ ● ฒྻԽʹΑͬͯϦιʔεར༻ͷޮ཰͸͔ͳΓ্͕ͬͨΑ͏ʹݟ͑Δ ○ $PSF $PSF Ͱಉ౳ͷϏϧυ࣌ؒ

Slide 16

Slide 16 text

16 ·ͱΊ ● %PDLFSCBLFΛ࢖͏ͱϏϧυઃఆ͕؅ཧ͠΍͘͢ͳΔͷͰΤϯδχΞʹخ͍͠ʂ ● $BDIFTUPSBHFCBDLFOEΛઃఆ͢Δͱ $*ͷ଎౓͕վળ͢ΔͷͰ։ൃޮ཰61ɾ ίετ%08/͕خ͍͠ʂ ○ ϏϧυίϚϯυ͕௕͘ͳΔ໰୊͸ CBLFͰղܾ

Slide 17

Slide 17 text

17 ༨ஊ r ։ൃɾςετ؀ڥΊͬͪΌ͋Δ

Slide 18

Slide 18 text

18 ༨ஊ r ։ൃɾςετ؀ڥΊͬͪΌ͋Δ

Slide 19

Slide 19 text

19 ࠾༻৘ใ

Slide 20

Slide 20 text

20 ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠