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
JCConf 2024 Jib
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shihyu Ho
September 26, 2024
Technology
0
85
JCConf 2024 Jib
https://github.com/shihyuho/jcconf2024-jib
Shihyu Ho
September 26, 2024
Tweet
Share
More Decks by Shihyu Ho
See All by Shihyu Ho
JCConf 2022 - Using ArchUnit to test your architecture
shihyuho
0
160
hybrid-cloud-seminar.pdf
shihyuho
0
110
JCConf 2021 Access Kubernetes API in Java
shihyuho
0
130
JCConf 2020 Observing in Microservices
shihyuho
0
810
iThome Kubernetes Summit 2018
shihyuho
0
72
JCConf 2016 zookeeper
shihyuho
0
76
Other Decks in Technology
See All in Technology
BiDiってなんだ?
tomorrowkey
2
480
ファシリテーション勉強中 その場に何が求められるかを考えるようになるまで / 20260123 Naoki Takahashi
shift_evolve
PRO
3
370
書籍執筆での生成AIの活用
sat
PRO
1
210
AI アクセラレータチップ AWS Trainium/Inferentia に 今こそ入門
yoshimi0227
1
320
現場で活かす生成AI実践セミナー「広報×AI活用」編
matyuda
0
100
AWS Amplify Conference 2026 - 仕様からリリースまで一気通貫生成 AI 時代のフルスタック開発
inariku
3
380
メルカリのAI活用を支えるAIセキュリティ
s3h
3
2k
みんなでAI上手ピーポーになろう! / Let’s All Get AI-Savvy!
kaminashi
0
220
なぜCREを8年間続けているのか / cre-camp-4-2026-01-21
missasan
0
1.3k
Oracle Cloud Infrastructure:2026年1月度サービス・アップデート
oracle4engineer
PRO
0
130
アウトプットはいいぞ / output_iizo
uhooi
0
140
エンジニアとマネジメントの距離/Engineering and Management
ikuodanaka
3
620
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
450
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
Rails Girls Zürich Keynote
gr2m
96
14k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
100
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
410
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
130
Everyday Curiosity
cassininazir
0
120
Ethics towards AI in product and experience design
skipperchong
2
180
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Being A Developer After 40
akosma
91
590k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
46
Transcript
Jib 打包 Java 應 用 的那些事 心 得分享與擴充攻略 Matt Ho
Hi, I'm Matt 👋 - 松凌科技 Architect / R&D -
JCConf Speaker - in/methodho - github.com/shihyuho
Lab github.com/shihyuho/jcconf2024-jib
今天講什麼?
Image 裡有什麼
Fat Jar
Fat Jar - Dockerfile
Fat Jar - Layers
Jib
Jib - Layers
喜歡 Jib 的原因 1. Daemonless 2. No more Dockerfiles 3.
Well integrated with build tools (Maven/Gradle) 4. Optimized for improved layer caching 5. Extensible (等等~ 這啥?)
有時候我們會需要 自 定義 entrypoint
原來是 Jib 忽略了 <jvmFlags>
Jib 的擴充 softleader/jib-jvm-flags-extension-maven A Jib maven extension outputs the configured
<jvmFlags> into the /app/jib-jvm-flags-file file, allowing a custom entrypoint to access these flags.
Jib 怎麼擴充
多了 一 個 Layer
現在的 entrypoint 長這樣
更多的應 用 softleader/memory-calculator 基於 paketo-buildpacks/libjvm 的 JVM 記憶體計算 工 具
Recap - Image 的組成 - 打包成 Image 的幾種 方 式
- 喜歡 Jib 的原因 - Jib 的擴充及延伸應 用
Thank you 🙌