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
60
How to write Dockerfile
@ジュジュ
May 28, 2018
Tweet
Share
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
150
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.1k
Firecracker Snapshottingを調べてみた
juju62q
1
580
SLOを活用した技術的改善
juju62q
10
11k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.6k
telepresence handson
juju62q
2
5.1k
Wanna Use Vitess in Orientation
juju62q
6
1.3k
machine learning with rancher and K8s on prem
juju62q
5
450
docker-handson-for-researcher
juju62q
3
320
Other Decks in Technology
See All in Technology
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
11
77k
Geospatialの世界最前線を探る [2025年版]
dayjournal
3
450
関係性が駆動するアジャイル──GPTに人格を与えたら、対話を通してふりかえりを習慣化できた話
mhlyc
0
120
stupid jj tricks
indirect
0
7.7k
それでも私はContextに値を詰めたい | Go Conference 2025 / go conference 2025 fill context
budougumi0617
4
1.1k
【新卒研修資料】LLM・生成AI研修 / Large Language Model・Generative AI
brainpadpr
23
16k
AIが書いたコードをAIが検証する!自律的なモバイルアプリ開発の実現
henteko
1
240
タスクって今どうなってるの?3.14の新機能 asyncio ps と pstree でasyncioのデバッグを (PyCon JP 2025)
jrfk
1
200
多野優介
tanoyusuke
1
160
Findy Team+のSOC2取得までの道のり
rvirus0817
0
290
Pure Goで体験するWasmの未来
askua
1
170
Windows で省エネ
murachiakira
0
150
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
How to Think Like a Performance Engineer
csswizardry
27
2k
Bash Introduction
62gerente
615
210k
Scaling GitHub
holman
463
140k
Designing for Performance
lara
610
69k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building Applications with DynamoDB
mza
96
6.6k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
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を書いて 開発を効率化していこう!!!