Add optional args to "just build" (#6196)

This commit is contained in:
Michael Samoylov 2025-11-25 16:44:29 +01:00 committed by GitHub
parent adbdb7f13e
commit 16fc0cc274
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
export COMPOSE_FILE := "docker-compose.local.yml"
## Just does not yet manage signals for subprocesses reliably, which can lead to unexpected behavior.
## Exercise caution before expanding its usage in production environments.
## Exercise caution before expanding its usage in production environments.
## For more information, see https://github.com/casey/just/issues/2473 .
@ -10,9 +10,9 @@ default:
@just --list
# build: Build python image.
build:
build *args:
@echo "Building python image..."
@docker compose build
@docker compose build {{ "{{args}}" }}
# up: Start up containers.
up: