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: tips & tricks per la build
Search
Federico Minzoni
March 28, 2019
Technology
0
360
Docker: tips & tricks per la build
Federico Minzoni
March 28, 2019
Tweet
Share
More Decks by Federico Minzoni
See All by Federico Minzoni
Towards Docker 18.09
fminzoni
0
88
Docker Milano Meetup (Docker #4 Bday)
fminzoni
1
150
Docker Operations - Six memos for the next infrastructure
fminzoni
0
180
Docker Roma Meetup #1
fminzoni
0
120
Hello Docker! Mean Milan
fminzoni
1
64
Docker Milano Meetup #2
fminzoni
0
88
Docker Quickstart
fminzoni
1
95
Other Decks in Technology
See All in Technology
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
340
AWS環境におけるランサムウェア攻撃対策の設計
nrinetcom
PRO
0
170
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
120
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
140
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
120
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
120
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
830
pg_bigmをRustで実装する(第50回PostgreSQLアンカンファレンス@オンライン 発表資料)
shinyakato_
0
110
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
160
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
380
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
200
[JAWS-UG新潟#20] re:Invent2024 -CloudOperationsアップデートについて-
shintaro_fukatsu
0
120
Featured
See All Featured
Building an army of robots
kneath
302
44k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
910
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Fireside Chat
paigeccino
34
3.1k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.6k
The Cost Of JavaScript in 2023
addyosmani
46
7k
Faster Mobile Websites
deanohume
305
30k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Building Adaptive Systems
keathley
38
2.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Facilitating Awesome Meetings
lara
50
6.1k
Transcript
DOCKER Tips & tricks per la build. CloudConf 2019 Docker
Milano
https://deanbradshaw.com/
None
Build Ship Run
Build Ship Run
Build Ship Run
None
Tips & tricks #1 .dockerignore file
Tips & tricks #2 ARG VERSION=latest FROM busybox:$VERSION ARG VERSION
RUN echo $VERSION > image_version
Tips & tricks #3 FROM ubuntu:18.04 RUN apt-get update \
&& apt-get install -y \ curl \ vim \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*
Tips & tricks #4
None
Tips & tricks #5 # syntax=docker/dockerfile:experimental FROM alpine RUN --mount=type=secret,id=my.key
command docker build --secretid=my.key,src=my.key .
Tips & tricks #6 # syntax=docker/dockerfile:experimental FROM alpine RUN --mount=type=ssh
git clone git@repo docker build --ssh default .
GRAZIE Federico Minzoni. @fminzoni. CloudConf 2019 Docker Milano