elixir-boilerplate icon indicating copy to clipboard operation
elixir-boilerplate copied to clipboard

Add docker buildx in CI workflow to improve docker build speed

Open simonprev opened this issue 4 years ago β€’ 3 comments

πŸ“– Description

https://docs.docker.com/buildx/working-with-buildx

In one of our project, it reduced the Docker build time from 7 minutes to 5 minutes 🐎 πŸ’¨

πŸ¦€ Dispatch

  • #dispatch/elixir

simonprev avatar Mar 22 '22 11:03 simonprev

πŸ¦€ Requesting reviewers for this pull request:

  • @gcauchon (contributor with 1 commits in the last 90 days and 36 commits overall)
  • @MathieuLegault1 (reviewer for the elixir stack)

mirego-builds avatar Mar 22 '22 11:03 mirego-builds

Do we want to make a similar change to the Makefile? This way we could leverage the efficiency gain when building/testing the image locally too…

gcauchon avatar Mar 22 '22 11:03 gcauchon

This way we could leverage the efficiency gain when building/testing the image locally too…

Since docker buildx, when installed, replace the docker build command, I think we should leave it to the developer to install such tool

simonprev avatar Mar 22 '22 11:03 simonprev