Skip to content

Pin local_ratelimit nginx base image to stable 1.30.0 tag + digest#1184

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/update-nginx-version-tag
Closed

Pin local_ratelimit nginx base image to stable 1.30.0 tag + digest#1184
Copilot wants to merge 2 commits into
mainfrom
copilot/update-nginx-version-tag

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 12, 2026

local_ratelimit/Dockerfile-nginx was pinned by digest without a version tag, effectively tracking the rolling latest line. This change pins the image to the current nginx stable release and keeps digest pinning for reproducibility.

  • What changed

    • Updated local_ratelimit/Dockerfile-nginx to use the stable nginx release tag (1.30.0) with its matching immutable digest.
    • This aligns the Dockerfile with nginx stable/mainline release policy and avoids recurring digest churn from untagged latest tracking.
  • Dockerfile update

    - FROM nginx@sha256:7f0adca1fc6c29c8dc49a2e90037a10ba20dc266baaed0988e9fb4d0d8b85ba0
    + FROM nginx:1.30.0@sha256:55d1fb0944aafb8534b253e486c6cf57d3e0c785c4f6a7b3e9f02c5a080fb2ce

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • nginx.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/curl curl -fsSL REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Background

The local_ratelimit/Dockerfile-nginx is currently using FROM nginx@sha256:... with no tag — this effectively tracks nginx:latest (a rolling tag). Dependabot keeps bumping the digest (see PR #1129). We should pin to the latest stable nginx release with a proper version tag.

File to update

local_ratelimit/Dockerfile-nginx

Current contents (line 1):

FROM nginx@sha256:7f0adca1fc6c29c8dc49a2e90037a10ba20dc266baaed0988e9fb4d0d8b85ba0

Task

  1. Identify the latest stable nginx release. nginx publishes two branches: "stable" (even-numbered minor, e.g. 1.28.x) and "mainline" (odd-numbered minor, e.g. 1.29.x). Use the stable branch — the most recent release on the stable line. Verify on:
  2. Update local_ratelimit/Dockerfile-nginx to:
    FROM nginx:<stable-version>@sha256:<digest>
    
    Use the actual current linux/amd64 manifest digest for that tag from Docker Hub.
  3. Do not modify any other file. Leave .github/dependabot.yml alone — by pinning to a specific stable <version> tag, dependabot will only bump within that stable line going forward.

PR details

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: this dependency is on rolling releases - it shouldnt be - please open a pr to set it to latest stable

Assistant: I'll delegate this to the coding agent to investigate and fix.

Assistant: Waiting for your confirmation on the dialog before I dispatch the coding agent to open the PR.

User: @copilot Accepted Confirmation: Confirm agent session

Assistant: I've dispatched the coding agent to open a PR that pins shared/golang/Dockerfile to the latest stable Go release (replacing the rolling 1.26.3-bookworm tag) with a proper tag@sha256:... digest pin. It will supersede #1165.

data:
    - title: '[WIP] Pin shared/golang Dockerfile to latest stable Go release (stop tracking rolling tags)'
      repository: envoyproxy/examples
      url: https://github.com/copilot/tasks/pull/PR_kwDOMcnUVc7auAR8?session_id=ccde29aa-d58d-4842-ac80-f07b0f18882a
      state: queued

User: same with this one @envoyproxy/examples/pull/1163

User: @copilot Accepted Confirmation: Confirm agent session

Assistant: Dispatched. The agent will pin redis/Dockerfile-redis to the latest stable Redis release with a proper digest, superseding #1163.

data:
    - title: '[WIP] Pin redis Dockerfile to latest stable Redis release (stop tracking rolling tags)'
      repository: envoyproxy/examples
      url: https://github.com/copilot/tasks/pull/PR_kwDOMcnUVc7auCIC?session_id=987663c8-fcbe-4070-85f3-c2b9142a6d08
      state: queued

User: looks like another here @envoyproxy/examples/pull/1129

User: i said ... this looks like another @envoyproxy/examples/pull/1129

Assistant: This one is a bit different — the Dockerfile uses FROM nginx@sha256:... with no tag at all, so it's effectively tracking nginx:latest (rolling). Want me to dispatch the agent to pin it to the latest stable nginx:<version> (e.g. the current stable mainline release) with a digest? Confirming before I open the PR.

User: yep - current latest stable

This pull request was created from Copilot chat.

Copilot AI changed the title [WIP] Update Dockerfile-nginx to pin latest stable nginx release Pin local_ratelimit nginx base image to stable 1.30.0 tag + digest May 12, 2026
Copilot finished work on behalf of phlax May 12, 2026 15:08
Copilot AI requested a review from phlax May 12, 2026 15:08
@phlax phlax closed this May 12, 2026
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