Skip to content

chore(images): migrate OS base to private -stable alias - #22

Merged
rohankmr414 merged 1 commit into
mainfrom
chore/migrate-os-base-to-private-stable
Jul 27, 2026
Merged

chore(images): migrate OS base to private -stable alias#22
rohankmr414 merged 1 commit into
mainfrom
chore/migrate-os-base-to-private-stable

Conversation

@dliub

@dliub dliub commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Re-homes the runtime/OS base image of this connector to Hasura's private Artifact Registry, using the floating -stable alias so rebuilds auto-inherit the latest patched base.

Per Hasura policy, every container deployed in Hasura infra must be pulled from the private Artifact Registry us-docker.pkg.dev/hasura-container-images/external-images, not from upstream registries (Docker Hub, etc.). Switching to the -stable alias (same noble/24.04 version line, auto-patched) reduces CVE exposure on rebuild and brings the base pull into registry compliance.

Exact FROM swap

Dockerfile:

- FROM ubuntu:noble-20260113
+ FROM us-docker.pkg.dev/hasura-container-images/external-images/docker.io/library/ubuntu:noble-stable

This re-homes the dated pin to the floating -stable alias on the same Ubuntu Noble (24.04) line.

Scope notes

  • Only the top-level Dockerfile base is changed. connector-definition/Dockerfile is FROM ghcr.io/hasura/ndc-python-lambda:... — a self-reference to the published connector image, not a base to swap — and is intentionally left untouched.
  • This repo has no builder rust: stages; any such builder/toolchain stages would be intentionally out of scope for this PR, which is limited to the runtime/OS base.
  • This ties the runtime base pull to the private AR: external/OSS builds will need access to that registry (or a substitute base) to build successfully.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tomhasura
tomhasura marked this pull request as ready for review July 27, 2026 20:49
@tomhasura
tomhasura requested a review from rohankmr414 July 27, 2026 20:49
@rohankmr414
rohankmr414 merged commit 8fc2a6b into main Jul 27, 2026
6 checks passed
@rohankmr414
rohankmr414 deleted the chore/migrate-os-base-to-private-stable branch July 27, 2026 20:50
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.

2 participants