From e16069c579afea23ecefa3e8336cb02db3055c9c Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Thu, 3 Sep 2026 20:34:19 -0400 Subject: [PATCH] build(docker): add bake config Move the linux/amd64 platform configuration out of Dockerfile comments into a dedicated docker-bake.hcl target. This keeps build settings explicit and makes the image build compatible with Docker Bake workflows. --- Dockerfile | 2 -- docker-bake.hcl | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 docker-bake.hcl diff --git a/Dockerfile b/Dockerfile index b0ab314..57590c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ # syntax=docker/dockerfile:1 -# artifacts: false -# platforms: linux/amd64 FROM ghcr.io/astral-sh/uv:0.12-python3.14-trixie-slim # CI args diff --git a/docker-bake.hcl b/docker-bake.hcl new file mode 100644 index 0000000..b778859 --- /dev/null +++ b/docker-bake.hcl @@ -0,0 +1,9 @@ +group "default" { + targets = ["image"] +} + +target "image" { + context = "." + dockerfile = "Dockerfile" + platforms = ["linux/amd64"] +}