6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-27 19:59:02 +00:00
tutor/tutor/commands
Régis Behmo 7972a75915 feat: leverage RUN --mount for faster image building
We make use of the Docker build cache to install python and nodejs
requirements faster in the case of repeated builds.

This feature is only possible for users of BuildKit, so we detect
whether `docker buildx` is available at runtime.

We do not make use of `COPY --link` because the `--link` option is
incompatible with `--chown=app:app`:
https://github.com/docker/buildx/issues/1408

For reference, see:

https://www.docker.com/blog/dockerfiles-now-support-multiple-build-contexts/
https://docs.docker.com/engine/reference/commandline/buildx_build/#build-context
2023-06-14 21:08:49 +02:00
..
upgrade feat: upgrade to Palm 2023-06-14 19:40:58 +02:00
__init__.py Move command modules to dedicated directory 2019-05-29 09:53:54 +02:00
cli.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
compose.py depr: RUN_LMS, RUN_CMS settings 2023-06-14 19:40:58 +02:00
config.py feat: config save --append/--remove KEY=VAL options 2023-06-14 19:40:58 +02:00
context.py feat: pluggable local/dev/k8s do <job> commands 2022-11-15 09:46:08 +01:00
dev.py feat: upgrade to Palm 2023-06-14 19:40:58 +02:00
images.py feat: leverage RUN --mount for faster image building 2023-06-14 21:08:49 +02:00
jobs.py depr: halt compatibility with python 3.7 2023-06-14 19:40:58 +02:00
k8s.py feat: Add support for loading in-cluster config when running inside a pod 2023-06-06 15:14:52 +02:00
local.py feat: upgrade to Palm 2023-06-14 19:40:58 +02:00
plugins.py feat: highlight enabled plugins with 2023-03-20 14:19:44 +01:00