paint-brush
How To Improve Your Docker Build Time in GitLab CIby@EmmanuelSys
2,156 reads
2,156 reads

How To Improve Your Docker Build Time in GitLab CI

by Emmanuel Sys10mNovember 25th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How To Improve Your Docker Build Time in GitLab CI? How To improve your build time in a continuous integration pipeline. We will discuss various ways of speeding up the build time of Docker images in a CI pipeline by implementing different strategies. We start with a light base image in which we install the build tools and download or compile the dependencies into a Python virtual environment. In the second stage, we copy the virtual env with our dependencies into the target image and finally add the application files. This second build is much quicker as layers are cached in your local Docker service.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Improve Your Docker Build Time in GitLab CI
Emmanuel Sys HackerNoon profile picture
Emmanuel Sys

Emmanuel Sys

@EmmanuelSys

L O A D I N G
. . . comments & more!

About Author

Emmanuel Sys HackerNoon profile picture
Emmanuel Sys@EmmanuelSys

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