Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use multi stage docker build. #20

Open
poonai opened this issue Feb 26, 2022 · 0 comments
Open

use multi stage docker build. #20

poonai opened this issue Feb 26, 2022 · 0 comments
Labels
devops good first issue Good for newcomers

Comments

@poonai
Copy link
Collaborator

poonai commented Feb 26, 2022

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

@poonai poonai added devops good first issue Good for newcomers labels Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant