You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/20 19:29:13 UTC
[GitHub] [airflow-ci-infra] potiuk edited a comment on pull request #47: Add Docker Buildx plugin
potiuk edited a comment on pull request #47:
URL: https://github.com/apache/airflow-ci-infra/pull/47#issuecomment-1017848742
> Is this necessary to update the caché?
Yep. Cache rebuild will only work when the plugin is installed
Installing plugin adds "buildx" command: https://docs.docker.com/engine/reference/commandline/buildx_build/
And we are using it to build cache:
* CI Image here: https://github.com/apache/airflow/blob/4748276f13f3b455fedbebd448b6aa3272cef2d5/scripts/ci/libraries/_build_images.sh#L476
* PROD image here:
https://github.com/apache/airflow/blob/4748276f13f3b455fedbebd448b6aa3272cef2d5/scripts/ci/libraries/_build_images.sh#L630
The ``--cache-to`` option is only available in "docker buildx build" command. The regular `docker build` can only use `--cache-from` : https://docs.docker.com/engine/reference/commandline/build/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org