Repository navigation
docker: single-arch (amd64) image published to GHCR + Docker Hub - #10
Closed
githubflyideas wants to merge 1 commit into
Closed
githubflyideas wants to merge 1 commit into
githubflyideas wants to merge 1 commit into
Conversation
Owner
Author
|
Superseded: the Docker image shipped in v1.3.6 through the release flow instead — live on both GHCR (ghcr.io/githubflyideas/vyos-sflow) and Docker Hub (githubflyideas/vyos-sflow). Closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Docker image promised for before the end of 2026.
What is in here
ci.ymlexactly (Go 1.27.4, cgo, external link mode, fully static with the libstdc++ archive made findable andgetentropywrapped), so the image ships the same kind of binary as the tarball. The runtime stage is busybox with just the static binary; accounts and history live in/data(embedded DuckDB + Parquet), the Web UI is bound to all container interfaces viaVYOS_SFLOW_ADDR, and aHEALTHCHECKpolls/healthz.docs/*is excluded exceptdocs/embed.goanddocs/MANUAL.md: the manual is compiled into the binary, so those two files must stay in the context.linux/amd64. Publishes to GHCR and Docker Hub onv*tags; on pull requests it only builds and smoke-tests (amd64 image is run,versionoutput and/healthzstatus/version are asserted) without pushing.--network hostas the recommended run (exporters reach UDP 6343 directly, no NAT in between), the/datavolume, the port-published alternative, and the default-password warning. Placed as a##section so the numbered quick-start steps the release contract pins stay untouched.Verification
tests/release-contract.cjspasses.ldd: not a dynamic executable). That first reproduction is also how thedocs/embed requirement above was found.VYOS_SFLOW_ADDR=0.0.0.0:8066,VYOS_SFLOW_DATA=<dir>) and no terminal: it starts without the interactive prompt, serves/healthzas{"status":"ok","version":"1.3.5"}, listens on UDP 6343, and writes its DuckDB/Parquet data into the data directory.First publish
Merging this does not publish an image by itself: the workflow publishes on the next
v*tag (or a manual dispatch). Publishing an image for the already-released 1.3.5 would need a new tag, e.g. shipping this with the next release.Needs (same as fogping): repository variable
DOCKERHUB_USERand secretDOCKERHUB_TOKENfor the Docker Hub push; GHCR works with the workflow token.