Skip to content

fix(devcontainer): the dev container does not use the devops-cli image #18

Closed

Description

@dan-petty

Problem

The dev container of this repository depends on devops-cli, and devops-cli depends on this repository. That is a cycle.

  • .devcontainer/devcontainer.json uses the image ghcr.io/dan-petty/devops-cli/devcontainer:v0.179.5.
  • The devops-cli dev container installs the Feature ghcr.io/dan-petty/devcontainer-features/podman-in-podman:1 of this repository.
  • .github/renovate.json has a rule for the devops-cli image.
  • CONTRIBUTING.md says that .github/renovate.json extends the preset of devops-cli. It now extends github>dan-petty/infra//renovate/base.

The CI of this repository does not use devops-cli.

Change

Follow the dev container of devcontainers/features:

  • Use the image mcr.microsoft.com/devcontainers/javascript-node, at the current image series 5-22, pinned by digest.
  • In place of docker-in-docker, use the Feature podman-in-podman of this repository with dockerCompat. That gives the docker command that the Dev Containers CLI runs.
  • Keep npm ci, because package-lock.json pins the CLI.
  • Delete the Renovate rule for the devops-cli image.
  • Fix CONTRIBUTING.md, and remove the devops-cli name from the comment of the two with_docker_in_docker/Dockerfile files.

Acceptance criteria

  • No file of the repository names an image, action or preset of devops-cli.
  • The dev container builds, and podman --version, docker --version and npm ci work in it.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    status/new
    value/medium
    effort/low
    on Nov 23, 2026
  2. dan-petty commented on Nov 23, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope devcontainer, and .github/labels.yml declares no scope/devcontainer label. Add the label to the file to give the scope to this item.
    • Related: docs: name the infra Renovate preset in CONTRIBUTING #15, which asks for a different change. Both touch CONTRIBUTING.md, but the candidate removes all devops-cli references while #15 only renames the preset reference.
  3. added
    priority/p2-medium
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 23, 2026
  4. removed
    status/in-review
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions