I have a CICD pipeline implemented using Gitlab CICD.
I am currently using Kaniko to build my services (mostly python) as a docker image.
I have been wondering if is it necessary to build a new docker image using Kaniko or Docker-dind images. For dockerizing step, I use Docker executor and pulling Docker-dind takes lots of time. Also Kaniko takes up a lot of time creating/retrieving cached-layer. I thought this process could be faster if I use celery executor or shell executor to build image.
What kind of problems would exists if I rely on runner's host system to build the docker images?
I am currently using Kaniko for docker build.