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
400
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
92
Docker Milano Meetup (Docker #4 Bday)
fminzoni
1
150
Docker Operations - Six memos for the next infrastructure
fminzoni
0
190
Docker Roma Meetup #1
fminzoni
0
160
Hello Docker! Mean Milan
fminzoni
1
69
Docker Milano Meetup #2
fminzoni
0
97
Docker Quickstart
fminzoni
1
97
Other Decks in Technology
See All in Technology
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
180
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
420
What happened to RubyGems and what can we learn?
mikemcquaid
0
300
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
590
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
240
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
470
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
97
First, design no harm
axbom
PRO
2
1.1k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Speed Design
sergeychernyshev
33
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
WCS-LA-2024
lcolladotor
0
450
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
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