From b1799b028362509b58af6a3b9d6e0a89672704e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D7=A0=CF=85=CE=B1=CE=B7=20=D7=A0=CF=85=CE=B1=CE=B7=D1=95?= =?UTF-8?q?=CF=83=CE=B7?= Date: Sun, 15 Mar 2026 16:49:19 -0700 Subject: [PATCH] feat: add configurable dockerfile to docker build recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default to Dockerfile.local for local multi-stage builds. CI overrides with JUST_DOCKERFILE for pre-built binaries. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docker.just | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker.just b/docker.just index 5cc6d2b..4e40cf7 100644 --- a/docker.just +++ b/docker.just @@ -18,13 +18,14 @@ image_name := env("JUST_DOCKER_IMAGE", `basename $(git rev-parse --show-toplevel)`) image_tag := env("JUST_DOCKER_TAG", "latest") +dockerfile := env("JUST_DOCKERFILE", "Dockerfile.local") # --- Build --- # Build the Docker image [group('build')] build: - docker build -t {{ image_name }}:{{ image_tag }} . + docker build -f {{ dockerfile }} -t {{ image_name }}:{{ image_tag }} . # Push the Docker image to the registry [group('build')]