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
How to write Dockerfile
Search
@ジュジュ
May 28, 2018
Technology
0
51
How to write Dockerfile
@ジュジュ
May 28, 2018
Tweet
Share
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
110
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
970
Firecracker Snapshottingを調べてみた
juju62q
1
530
SLOを活用した技術的改善
juju62q
10
8.4k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.5k
telepresence handson
juju62q
2
4.8k
Wanna Use Vitess in Orientation
juju62q
6
1.2k
machine learning with rancher and K8s on prem
juju62q
5
430
docker-handson-for-researcher
juju62q
3
300
Other Decks in Technology
See All in Technology
Building Products in the LLM Era
ymatsuwitter
10
5.5k
分解して理解する Aspire
nenonaninu
1
290
30分でわかる『アジャイルデータモデリング』
hanon52_
9
2.7k
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
1.4k
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
140
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
150
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
750
Tech Blogを書きやすい環境づくり
lycorptech_jp
PRO
1
240
The Future of SEO: The Impact of AI on Search
badams
0
200
リーダブルテストコード 〜メンテナンスしやすい テストコードを作成する方法を考える〜 #DevSumi #DevSumiB / Readable test code
nihonbuson
11
7.3k
2/18/25: Java meets AI: Build LLM-Powered Apps with LangChain4j
edeandrea
PRO
0
120
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Documentation Writing (for coders)
carmenintech
67
4.6k
Speed Design
sergeychernyshev
27
790
Site-Speed That Sticks
csswizardry
4
380
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
330
Being A Developer After 40
akosma
89
590k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
How to Ace a Technical Interview
jacobian
276
23k
A designer walks into a library…
pauljervisheath
205
24k
Gamification - CAS2011
davidbonilla
80
5.1k
Transcript
Dockerfileの書き方を伝えたい 2018/05/27 画像配信勉強会@ピクシブ 岡野兼也
自己紹介 基本情報 • 岡野兼也 / @ジュジュ • Twitter : @Juju_62q
好きな技術 仮想化、コンテナ、DevOps、IaC 趣味 登山、自転車、キャンプ、Kubernetes
みなさん!Docker(コンテナ)使ってますか?
アンケート 1. Dockerをよく使っている 2. 使ってみたいけどよくわかんない 3. 使っていないし使う予定もない 4. 試みたが心が折れた
このLTで伝えたいことは大きく2つです!
伝えたいこと 1. キャッシャブルなDockerfileを書こう 2. レイヤ構造を意識してDockerfileを書こう ex. 他人の計算資源で演算しよう
Dockerあるある 認証情報の扱い方がよくわからない
Dockerあるある Dockerを使って環境を作ってみたけど ビルドが遅くてイラっとする
Dockerあるある いつの間にかクソ長くなっていて 何が必要かわからないDockerfile
Dockerあるある 気がついたら数GBあるDockerイメージ
キャッシャブルなDockerfileを書こう! Dockerfileのキャッシュ はじめに変更があった部分以降はキャッシュが効かない! 変更の頻度が少ない容量のでかい ファイルは先に追加する
キャッシャブルなDockerfileを書こう!
レイヤ構造を意識したDockerfileを書こう
レイヤ構造を意識したDockerfileを書こう
他人の計算資源で計算しよう
みんな綺麗なDockerfileを書いて 開発を効率化していこう!!!