Skip to content

Commit aa8867f

Browse files
committed
fix(core): use public box image alias
1 parent 4ee4bb1 commit aa8867f

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

packages/app/src/lib/core/templates/dockerfile.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { renderDockerfileGlab } from "./glab.js"
44
import { renderDockerfileGitleaks, renderDockerfileOpenCode } from "./tools.js"
55

66
// CHANGE: use the shared link-foundation box as the generated project base image
7-
// WHY: issue #267 asks docker-git to reuse unified box containers instead of maintaining a raw Ubuntu workspace base
7+
// WHY: issue #267 asks docker-git to reuse unified box containers instead of maintaining a raw Ubuntu workspace base; the Docker Hub alias is publicly pullable in CI
88
// QUOTE(ТЗ): "Что бы не зависить только от своих обновлений, а иметь единую инфраструктру есть смысл юзать готовый репозиторий"
99
// REF: issue-267
10-
// SOURCE: https://github.com/link-foundation/box
10+
// SOURCE: https://github.com/link-foundation/box#docker-hub---combo-boxes
1111
// FORMAT THEOREM: renderDockerfile(config) -> base_image(rendered) = DOCKER_GIT_BASE_IMAGE
1212
// PURITY: CORE
1313
// INVARIANT: the rendered Dockerfile inherits language/runtime tooling from link-foundation/box while preserving docker-git bootstrap layers
1414
// COMPLEXITY: O(1)/O(1)
15-
const dockerGitBaseImage = "ghcr.io/link-foundation/box:latest"
15+
const dockerGitBaseImage = "konard/box:latest"
1616

1717
const renderDockerfilePrelude = (): string =>
1818
`ARG DOCKER_GIT_BASE_IMAGE=${dockerGitBaseImage}

packages/lib/src/core/templates/dockerfile.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { renderDockerfileGlab } from "./glab.js"
44
import { renderDockerfileGitleaks, renderDockerfileOpenCode } from "./tools.js"
55

66
// CHANGE: use the shared link-foundation box as the generated project base image
7-
// WHY: issue #267 asks docker-git to reuse unified box containers instead of maintaining a raw Ubuntu workspace base
7+
// WHY: issue #267 asks docker-git to reuse unified box containers instead of maintaining a raw Ubuntu workspace base; the Docker Hub alias is publicly pullable in CI
88
// QUOTE(ТЗ): "Что бы не зависить только от своих обновлений, а иметь единую инфраструктру есть смысл юзать готовый репозиторий"
99
// REF: issue-267
10-
// SOURCE: https://github.com/link-foundation/box
10+
// SOURCE: https://github.com/link-foundation/box#docker-hub---combo-boxes
1111
// FORMAT THEOREM: renderDockerfile(config) -> base_image(rendered) = DOCKER_GIT_BASE_IMAGE
1212
// PURITY: CORE
1313
// INVARIANT: the rendered Dockerfile inherits language/runtime tooling from link-foundation/box while preserving docker-git bootstrap layers
1414
// COMPLEXITY: O(1)/O(1)
15-
const dockerGitBaseImage = "ghcr.io/link-foundation/box:latest"
15+
const dockerGitBaseImage = "konard/box:latest"
1616

1717
const renderDockerfilePrelude = (): string =>
1818
`ARG DOCKER_GIT_BASE_IMAGE=${dockerGitBaseImage}

packages/lib/tests/core/templates.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe("renderDockerfile", () => {
5757
it("uses the shared box image as the project container base", () => {
5858
const dockerfile = renderDockerfile(makeTemplateConfig())
5959

60-
expect(dockerfile).toContain("ARG DOCKER_GIT_BASE_IMAGE=ghcr.io/link-foundation/box:latest")
60+
expect(dockerfile).toContain("ARG DOCKER_GIT_BASE_IMAGE=konard/box:latest")
6161
expect(dockerfile).toContain("FROM ${DOCKER_GIT_BASE_IMAGE}")
6262
expect(dockerfile).toContain("USER root")
6363
expect(dockerfile).not.toContain("FROM ubuntu:24.04")

0 commit comments

Comments
 (0)