Add container image build #2

Merged
benvin merged 1 commits from benvin/image into benvin/scaffold 2026-09-27 00:31:22 +10:00
Member

The plugin will run in-cluster in serve mode so developer laptops can use the shared cache without holding S3 credentials. That needs an image; the repo only shipped a binary.

  • Add a Dockerfile: golang builder running make build, distroless static nonroot, no shell
  • Add make docker for a local smoke build
  • Add .woodpecker/docker.yaml, pushing docker-internal/go-cache-plugin on tag
  • Document the image and the SSL_CERT_DIR mount the internal CA needs

Stacks on #1.

The plugin will run in-cluster in serve mode so developer laptops can use the shared cache without holding S3 credentials. That needs an image; the repo only shipped a binary. - Add a Dockerfile: golang builder running `make build`, distroless static nonroot, no shell - Add `make docker` for a local smoke build - Add `.woodpecker/docker.yaml`, pushing `docker-internal/go-cache-plugin` on tag - Document the image and the `SSL_CERT_DIR` mount the internal CA needs Stacks on #1.
unkin-agent added 1 commit 2026-09-27 00:26:25 +10:00
Add container image build
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
b5e68da270
Ship a distroless image so the plugin can run in-cluster in serve mode,
letting developer laptops use the shared cache without S3 credentials.

- Dockerfile: golang builder running `make build`, distroless static nonroot
- `make docker` for a local smoke build
- `.woodpecker/docker.yaml` pushes to docker-internal on tag
- README: image name and the SSL_CERT_DIR mount the internal CA needs
benvin merged commit 4210106a0c into benvin/scaffold 2026-09-27 00:31:22 +10:00
Author
Member

No findings.

No findings.
Sign in to join this conversation.