A Tale of Two (Docker Multi-Stage Build) Layersby@patrickleet
22,191 reads
22,191 reads

A Tale of Two (Docker Multi-Stage Build) Layers

by Patrick Lee Scott9mFebruary 26th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Docker is essentially an isolated environment for your code to run in. Just like you would provision a server, you provision a docker container. The Dockerfile is also a great place to run our unit tests, which is why I’ve decided to write the tests first. With tests in place, the next piece is getting our project ready for deployment. Using a multi-stage build is a good security measure as all build tooling is stripped out of the final layer of the Dockerfile.

Company Mentioned

Mention Thumbnail
featured image - A Tale of Two (Docker Multi-Stage Build) Layers
Patrick Lee Scott HackerNoon profile picture
Patrick Lee Scott

Patrick Lee Scott

@patrickleet

HackerNoon's first contributing tech writer of the year.

Learn More
LEARN MORE ABOUT @PATRICKLEET'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Patrick Lee Scott HackerNoon profile picture
Patrick Lee Scott@patrickleet
HackerNoon's first contributing tech writer of the year.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!