From c11d3e95d5a3a6405343bcaeb8379bcf1d289a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Catriel=20M=C3=BCller?= Date: Tue, 10 Feb 2026 17:32:20 -0300 Subject: [PATCH] refactor: containers --- packages/containers/README.md | 6 +++--- packages/containers/bun-node/Dockerfile | 4 +++- packages/containers/publish/Dockerfile | 8 +++++--- packages/containers/rust/Dockerfile | 4 +++- packages/containers/script/build.ts | 10 ++++++---- packages/containers/tauri-linux/Dockerfile | 12 +++++++----- 6 files changed, 27 insertions(+), 17 deletions(-) diff --git a/packages/containers/README.md b/packages/containers/README.md index a1cfe60db3..a498a81806 100644 --- a/packages/containers/README.md +++ b/packages/containers/README.md @@ -15,8 +15,8 @@ Images Build ``` -REGISTRY=ghcr.io/anomalyco TAG=24.04 bun ./packages/containers/script/build.ts -REGISTRY=ghcr.io/anomalyco TAG=24.04 bun ./packages/containers/script/build.ts --push +REGISTRY=ghcr.io/Kilo-Org TAG=24.04 bun ./packages/containers/script/build.ts +REGISTRY=ghcr.io/Kilo-Org TAG=24.04 bun ./packages/containers/script/build.ts --push ``` Workflow usage @@ -26,7 +26,7 @@ jobs: build-cli: runs-on: ubuntu-latest container: - image: ghcr.io/anomalyco/build/bun-node:24.04 + image: ghcr.io/Kilo-Org/build/bun-node:24.04 ``` Notes diff --git a/packages/containers/bun-node/Dockerfile b/packages/containers/bun-node/Dockerfile index e6cad9c272..a93fc7d0a4 100644 --- a/packages/containers/bun-node/Dockerfile +++ b/packages/containers/bun-node/Dockerfile @@ -1,4 +1,6 @@ -ARG REGISTRY=ghcr.io/anomalyco +# kilocode_change start +ARG REGISTRY=ghcr.io/Kilo-Org +# kilocode_change end FROM ${REGISTRY}/build/base:24.04 SHELL ["/bin/bash", "-lc"] diff --git a/packages/containers/publish/Dockerfile b/packages/containers/publish/Dockerfile index 4780d22740..3f73b605a5 100644 --- a/packages/containers/publish/Dockerfile +++ b/packages/containers/publish/Dockerfile @@ -1,10 +1,12 @@ -ARG REGISTRY=ghcr.io/anomalyco +# kilocode_change start +ARG REGISTRY=ghcr.io/Kilo-Org +# kilocode_change end FROM ${REGISTRY}/build/bun-node:24.04 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ - docker.io \ - pacman-package-manager \ + docker.io \ + pacman-package-manager \ && rm -rf /var/lib/apt/lists/* diff --git a/packages/containers/rust/Dockerfile b/packages/containers/rust/Dockerfile index 533f348be7..903e5d5a57 100644 --- a/packages/containers/rust/Dockerfile +++ b/packages/containers/rust/Dockerfile @@ -1,4 +1,6 @@ -ARG REGISTRY=ghcr.io/anomalyco +# kilocode_change start +ARG REGISTRY=ghcr.io/Kilo-Org +# kilocode_change end FROM ${REGISTRY}/build/bun-node:24.04 ARG RUST_TOOLCHAIN=stable diff --git a/packages/containers/script/build.ts b/packages/containers/script/build.ts index 6b880e7a5b..10fa6e3f3b 100644 --- a/packages/containers/script/build.ts +++ b/packages/containers/script/build.ts @@ -7,7 +7,7 @@ import { fileURLToPath } from "url" const rootDir = fileURLToPath(new URL("../../..", import.meta.url)) process.chdir(rootDir) -const reg = process.env.REGISTRY ?? "ghcr.io/anomalyco" +const reg = process.env.REGISTRY ?? "ghcr.io/Kilo-Org" // kilocode_change const tag = process.env.TAG ?? "24.04" const push = process.argv.includes("--push") || process.env.PUSH === "1" @@ -22,11 +22,13 @@ const images = ["base", "bun-node", "rust", "tauri-linux", "publish"] const setup = async () => { if (!push) return const list = await $`docker buildx ls`.text() - if (list.includes("opencode")) { - await $`docker buildx use opencode` + // kilocode_change start + if (list.includes("kilo")) { + await $`docker buildx use kilo` return } - await $`docker buildx create --name opencode --use` + await $`docker buildx create --name kilo --use` + // kilocode_change end } await setup() diff --git a/packages/containers/tauri-linux/Dockerfile b/packages/containers/tauri-linux/Dockerfile index 9f67a28049..751b43ab65 100644 --- a/packages/containers/tauri-linux/Dockerfile +++ b/packages/containers/tauri-linux/Dockerfile @@ -1,12 +1,14 @@ -ARG REGISTRY=ghcr.io/anomalyco +# kilocode_change start +ARG REGISTRY=ghcr.io/Kilo-Org +# kilocode_change end FROM ${REGISTRY}/build/rust:24.04 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ - libappindicator3-dev \ - libwebkit2gtk-4.1-dev \ - librsvg2-dev \ - patchelf \ + libappindicator3-dev \ + libwebkit2gtk-4.1-dev \ + librsvg2-dev \ + patchelf \ && rm -rf /var/lib/apt/lists/*