tag: docker

Leverage docker multistage builds to create tiny docker image

on 2021-03-29

You have to create a docker image containing an artifact. However to be built, this artifact requires tools that you don’t need to put in your docker image. How to ensure to have the smallest docker image without loading useless tools only used for building artifact ? The solution is docker multi-stage builds


Create docker image for gitlab CI

on 2021-03-28

Create a docker image containing some utils, push it on dockerhub and use it directly on gitlab-ci

#docker #gitlab-ci