Skip to content

fix: update chronograf(alpine) to copy only binaries from tarball.#877

Open
karel-rehor wants to merge 2 commits into
masterfrom
fix/865-misplaced-binaries
Open

fix: update chronograf(alpine) to copy only binaries from tarball.#877
karel-rehor wants to merge 2 commits into
masterfrom
fix/865-misplaced-binaries

Conversation

@karel-rehor
Copy link
Copy Markdown
Collaborator

@karel-rehor karel-rehor commented May 19, 2026

closes #865 and #866

Since static tarballs are not available for the 1.11.2 release, copy into the docker image only the required binaries. This should preserve the same internal file structure found in the 1.10.9 release.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the broken chronograf:1.11.x-alpine image startup by avoiding an incorrect copy of the full FHS-style tarball tree into /usr/bin, and instead copying only the Chronograf binaries into the expected location.

Changes:

  • Update the Alpine 1.11 Dockerfile to copy only usr/bin/* from the extracted tarball into /usr/bin, restoring the expected binary paths.
  • Preserve the prior image’s internal binary layout (consistent with the older -static tarball behavior) while using the non-static tarball for 1.11.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread chronograf/1.11/alpine/Dockerfile Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@karel-rehor
Copy link
Copy Markdown
Collaborator Author

RE: additional QA and testing

Just to be sure I tried the non-alpine (i.e. standard debian) chronograf image this morning. It appears to be OK

$ docker run --network=host --name=chrono-test chronograf:1.11 --influxdb-v3-support-enabled
time="2026-05-20T08:21:07Z" level=info msg="Starting Chronograf 1.11.29f76dffd814062ceb3cd80df9fa2227850c2b8e0"
time="2026-05-20T08:21:07Z" level=info msg="InfluxDB v3 time condition validated and configured" component=server time_condition="time > now() - 1d"
time="2026-05-20T08:21:07Z" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2026-05-20T08:21:07Z" level=info msg="Serving chronograf at http://[::]:8888" component=server
...

Additionally, I tried passing CLI arguments to the locally built alpine chronograf image. This also appears to be OK.

$ docker run --name=chrono-alpine-test --network=host local-chronograf-alpine:1.11 --influxdb-v3-support-enabled
time="2026-05-20T08:26:18Z" level=info msg="Starting Chronograf 1.11.29f76dffd814062ceb3cd80df9fa2227850c2b8e0"
time="2026-05-20T08:26:18Z" level=info msg="InfluxDB v3 time condition validated and configured" component=server time_condition="time > now() - 1d"
time="2026-05-20T08:26:18Z" level=info msg="Reporting usage stats" component=usage freq=24h reporting_addr="https://usage.influxdata.com" stats="os,arch,version,cluster_id,uptime"
time="2026-05-20T08:26:18Z" level=info msg="Serving chronograf at http://[::]:8888" component=server
...

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.

Chronograf:1.11-alpine image does not start

2 participants