Skip to content

agy-cli: always include the latest agy in the image - #42

Merged
mayawang merged 1 commit into
mainfrom
fix-41
Nov 25, 2026
Merged

mayawang merged 1 commit into
mainfrom
fix-41

Conversation

@rakyll

@rakyll rakyll commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Fixes #41.

  • Install the latest agy in the Dockerfile with the official installer (https://antigravity.google/cli/install.sh), which verifies the download's SHA-512 against the release manifest. Auto-update stays disabled.
  • Remove the PREINSTALL_AGY build argument, the runtime-install path (AGY_RUNTIME_INSTALL, AGY_INSTALL_*, /workspace/.ax/bin on PATH) and the pinned install-agy.sh.
  • CI builds and verifies a single image; release.yaml no longer passes PREINSTALL_AGY=false.
  • Update the README example and docs accordingly.
  • Add a TODO to replace ax-harness with a Go binary.

Notes:

  • Builds are no longer reproducible: each build picks up the current agy release, and the version is no longer recorded as a label.
  • Published images now include the agy binary (previously held back pending Get the Antigravity image ready to publish #15).

Install the latest agy with the official installer at build time and
remove the PREINSTALL_AGY build argument, the runtime-install path
(AGY_RUNTIME_INSTALL) and the pinned install-agy.sh. CI builds and
verifies a single image, and releases no longer override the build.

Also add a TODO to replace ax-harness with a Go binary.

Fixes #41
@mayawang
mayawang merged commit ae514b5 into main Nov 25, 2026
11 checks passed
@rakyll
rakyll deleted the fix-41 branch November 25, 2026 18:47
mayawang added a commit that referenced this pull request Nov 25, 2026
Updates the remaining two lines that still described agy-cli as
omitting the agy binary and using the deprecated ax-harness name,
following #37 and #42.

Verification:
- ./scripts/verify/boilerplate.sh (passed)
- git diff --check (clean)
@MushuEE

MushuEE commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Only reason we were targeting the other path was incase there might be redistribution concerns with including the baked in binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agy-cli: always include agy in the image and remove PREINSTALL_AGY

3 participants