Skip to content

Add dozzle.dev devcontainer feature - #95

Merged
sebst merged 3 commits into
mainfrom
copilot/add-dozzle-dev-feature
Mar 16, 2026
Merged

sebst merged 3 commits into
mainfrom
copilot/add-dozzle-dev-feature

Conversation

Copilot AI commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor

Adds a devcontainer feature to install the dozzle binary — a lightweight Docker log monitoring web UI.

Why non-trivial

Dozzle ships no GitHub release binaries — only Docker Hub images (amir20/dozzle). The install script works around this by speaking directly to the Docker Hub OCI registry API using only curl+tar, with no Docker daemon required.

Install approach

  1. Fetch a pull token from auth.docker.io
  2. Resolve the multi-arch index manifest for the requested tag (latest or v{X.Y.Z})
  3. Find the arch-specific manifest digest (handles amd64, arm64, armhf, etc.)
  4. Extract the largest image layer — which, for this FROM scratch image, contains only the statically-linked dozzle binary
  5. Stream-extract to /usr/local/bin/dozzle

Changes

  • src/dozzle.dev/devcontainer-feature.json — feature definition with version option (latest or X.Y.Z)
  • src/dozzle.dev/install.sh — OCI registry-based install, follows existing repo conventions
  • test/dozzle.dev/test.sh — verifies binary exists at /usr/local/bin/dozzle
  • .github/workflows/test.yaml — adds dozzle.dev to both test-autogenerated and test-scenarios matrices

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:

  • dozzle.dev
    • 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)
  • https://api.github.com/repos/amir20/dozzle/releases
    • Triggering command: /usr/bin/curl curl -s REDACTED -H Accept: application/vnd.github+json ad_url']) for a in rel['assets']] (http block)
    • Triggering command: /usr/bin/curl curl -v REDACTED (http block)
  • https://api.github.com/repos/amir20/dozzle/releases/294909104/assets
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/amir20/dozzle/releases/latest
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/amir20/dozzle/releases/tags/v10.1.1
    • Triggering command: /usr/bin/curl curl -s REDACTED conntrack --ctstate INVALID,NEW -j DROP (http block)

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

Original prompt

This section details on the original issue you should resolve

<issue_title>Add feature dozzle.dev</issue_title>
<issue_description>Files:

src/pi.dev/devcontainer-feature.json
src/pi.dev/install.sh (make sure to set executable bit)
test/pi.dev/test.sh
.github/workflows/test.yaml

Releases:

https://github.com/amir20/dozzle/releases</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Copilot AI changed the title [WIP] Add feature dozzle.dev Add dozzle.dev devcontainer feature Mar 16, 2026
Copilot AI requested a review from sebst March 16, 2026 16:18
@sebst
sebst marked this pull request as ready for review March 16, 2026 16:42
@sebst
sebst merged commit f0f145f into main Mar 16, 2026
115 of 117 checks passed
@sebst
sebst deleted the copilot/add-dozzle-dev-feature branch March 23, 2026 19:12
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.

Add feature dozzle.dev

2 participants