@rob_rich

From Build Script
to Dockerfile

by Rob Richardson

  @rob_rich

https://robrich.org/

About Me

Rob Richardson

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He's a frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.

DevOps

What is a DevOps Pipeline?

Where did it come from?

Lean Manufacturing Process

From Toyota

  • Focus on the customer, eliminate waste
  • Continuously Improve
  • Empower the team
  • Optimize the whole
  • Plan for change
  • Automate processes
  • Build quality in

source: https://www.youtube.com/watch?v=8Tb-L-eiXdo
Automate all the things

Because computers are cheaper than people

DevOps Pipeline


suggestion

check out

code

build

test

deploy

qa

prod

feedback
Icons: Icons8 and Font Awesome

DevOps Pipeline


suggestion

check out

code

build

test

deploy

qa

prod

feedback
Icons: Icons8 and Font Awesome

The Build

Deployment Pipeline

How much can you do automatically?

source: https://www.youtube.com/watch?v=8Tb-L-eiXdo

The Old Way

wingdings

Wingdings all the things!

DEMO:

build tasks in Word

Build Script

DEMO:

build tasks in PowerShell

Dockerfile

What is Docker?

Docker is an ecosystem around Container Virtualization

What are Containers?

Light-weight kernel virtualization

What is Docker?

A suite of command-line tools for
creating, running, and sharing containers

Containers vs VMs

vm vs container

Source: http://www.zdnet.com/article/what-is-docker-and-why-is-it-so-darn-popular/

docker ecosystem

Download: https://robrich.org/slides/welcome-to-docker/docker-ecosystem.pdf

Docker Magic

Inside the Container:

  • A machine
  • Unique IP, hostname
  • Build your perfect snowflake
 

Outside the Container:

  • A process
  • Plug in power and internet
  • Restart quickly
  • Scale by launching more

DEMO:

Dockerfile