inspektor-dev / inspektor

Inspektor is a protocol-aware proxy that is used to enforce access policies👮

Home Page:https://inspektor.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use multi stage docker build.

poonai opened this issue · comments

Now, all docker builds use the --no-cache flag to make sure a new binary is being sent to the docker image.

But, it's increasing the build time a lot.

On a local machine, it takes more than 5 mins to build the image. So, explore other opportunities, to decrease build time

reference: https://github.com/poonai/inspektor/blob/main/build_dataplane_docker.sh