Skip to content

build: add Invoca Dockerfile and Buildkite pipeline - #34

Open
dasbus wants to merge 1 commit into
invoca-3.13/yrate-start-timestampsfrom
invoca-3.13/start-timestamps
Open

build: add Invoca Dockerfile and Buildkite pipeline#34
dasbus wants to merge 1 commit into
invoca-3.13/yrate-start-timestampsfrom
invoca-3.13/start-timestamps

Conversation

@dasbus

@dasbusdasbus commented Aug 13, 2026

Copy link
Copy Markdown

Summary

  • Adds Dockerfile.invoca — self-contained multi-stage build (Go 1.26 compile → busybox runtime), matching the pattern used in the Thanos fork
  • Adds .buildkite/pipeline.yml — pushes to invocaops/prometheus with commit SHA and branch-safe tags via buildkit-daemonless

Context

This branch (invoca-3.13/start-timestamps) is based on Colin's approved yrate-start-timestamps branch. We need to build a Docker image to deploy the start-timestamp-aware yrate code to red.prodref for integration testing. The old Buildkite pipeline from invoca-2.35.0-extensions was never ported forward, so this adds a new one.

The temporary ST debug-logging commit that was previously bundled here has been split out into #35.

Test plan

  • Buildkite pipeline triggers and builds the image successfully
  • Image starts and reports version v3.13.1
NONE

🤖 Generated with Claude Code

Comment threadDockerfile.invoca
@@ -0,0 +1,22 @@
FROM golang:1.26 AS compile
Comment threadDockerfile.invoca
Comment on lines +2 to +3
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get install -yq nodejs build-essential
Comment threadDockerfile.invoca
COPY . .
RUN make build

FROM quay.io/prometheus/busybox-linux-amd64:latest
@wiz-b82ec45539

wiz-b82ec45539Bot commented Aug 13, 2026

Copy link
Copy Markdown

Wiz Scan Summary

ScannerFindings
Vulnerability Finding Vulnerabilities-
Data Finding Sensitive Data-
Secret Finding Secrets-
IaC Misconfiguration IaC Misconfigurations1 Medium 2 Low 2 Info
SAST Finding SAST Findings-
Software Management Finding Software Management Findings-
Total1 Medium 2 Low 2 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.

Comment threadDockerfile.invoca
COPY . .
RUN make build

FROM quay.io/prometheus/busybox-linux-amd64:latest

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Medium IaC Finding

Image Version Using 'latest'
on resource FROM quay.io/prometheus/busybox-linux-amd64:latest

More Details
When building images, always tag them with useful tags which codify version information, intended destination (prod or test, for instance), stability, or other information that is useful when deploying the application in different environments. Do not rely on the automatically-created latest tag

Expected

FROM quay.io/prometheus/busybox-linux-amd64:latest should use a specific version instead of 'latest'

Found

FROM quay.io/prometheus/busybox-linux-amd64:latest uses the 'latest' tag

Rule ID: 91ba29eb-0fe8-4885-9fd8-7f3667a8b689


To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason

If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).


To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate

Self-contained multi-stage Dockerfile.invoca (Go 1.26 compile + busybox
runtime) and Buildkite pipeline that pushes to invocaops/prometheus with
commit SHA and branch-safe tags via buildkit-daemonless.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Shannon Price <sprice@invoca.com>
@dasbus
dasbusforce-pushed the invoca-3.13/start-timestamps branch from 4125625 to 6dc8f97CompareAugust 21, 2026 16:22
@dasbusdasbus changed the title build: add Invoca Dockerfile and Buildkite pipeline + ST debug loggingbuild: add Invoca Dockerfile and Buildkite pipelineAug 21, 2026
Sign up for freeto 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

@dasbus@github-advanced-security