56 Commits
Author SHA1 Message Date
tiennm99 e218548ef3 docs(plans): capture cleanup/compaction plan and review reports
Phased plan addressing findings from code-reviewer + code-simplifier
agents (read-only project scan after Convention B rollout). Four phases
ordered by risk and ROI:

- Phase 1: high-severity correctness (github.actor namespace leak,
  oraclejdk curl exit-code swallow, README Corretto inaccuracy)
- Phase 2: Dockerfile + workflow hygiene (maintainer unify, dos2unix
  removal, gradle noise drop, template.yml fate)
- Phase 3: polish (LABEL compaction, workflow name disambiguation,
  images: ordering, ENV->ARG, .gitignore)
- Phase 4: structural workflow_call DRY refactor (~155 LOC saved)

Open questions documented in plan.md for cook session. Source agent
reports preserved under plans/reports/ for self-contained context.
2026-05-28 18:40:23 +07:00
tiennm99 54e1481771 feat(gradle): rename image to gradle, update FROM, and expand OCI image-spec labels
Convention B (Docker-Hub-style <service>:<full-version>) completes the
gradle+oraclejdk migration. Workflow flips images/tags/subject-name from
gradle-8 to gradle; 8 major-line alias added. Dockerfile FROM now
references the new oraclejdk:8u201 package name from the prior commit;
LABEL maintainer was missing and is added alongside 5 OCI image-spec
keys. Both metadata-action labels: block and Dockerfile LABEL lines
carry the same values so manual and CI builds match.

Sequencing: must land after the prior commit's CI publishes
ghcr.io/tiennm99/oraclejdk:8u201, otherwise the gradle CI build will
fail until oraclejdk re-publishes.
2026-05-28 15:35:00 +07:00
tiennm99 1438546f48 feat(oraclejdk): rename image to oraclejdk and expand OCI image-spec labels
Convention B (Docker-Hub-style <service>:<full-version>) mirrors the
just-shipped couchbase rename. Workflow images/tags/subject-name flip
from oraclejdk-8 to oraclejdk; 8 major-line alias added. Both
metadata-action labels: block and Dockerfile LABEL lines carry the same
5 OCI image-spec keys so manual and CI builds match.

License: LicenseRef-Oracle-BCL (Oracle Binary Code License covered 8u201
binaries; SPDX has no exact identifier, custom ref is the compliant
escape hatch).
2026-05-28 15:32:25 +07:00
tiennm99 0b7ca52ce5 Revert "chore: drop gradle-8 and oraclejdk-8 images"
This reverts commit ff5e5f6a42.
2026-05-28 15:27:11 +07:00
tiennm99 68b430af01 chore(plans): remove completed plans and historical reports
All referenced work shipped; planning artifacts available in git history.
2026-05-28 15:18:32 +07:00
tiennm99 a29ac6fe8f chore(plans): mark Convention B rename plan completed
Sync phase status to completed with commit refs:
- Phase 1: 2f7bfde
- Phase 2: 3a0e31b
- Phase 3: afa2930
2026-05-28 13:45:42 +07:00
tiennm99 afa2930238 feat(couchbase): expand OCI image-spec labels
Adds 5 OCI image-spec LABEL fields to couchbase Dockerfile (title,
description, created, version, source), matching proven pattern from
scribe image (commits afaa631 + 4ef74f3).

License metadata: Apache-2.0 (verified against Couchbase Server 2.5.2).
Source: https://github.com/couchbase/docker (per researcher report).
Other metadata derived from image build context.

Matching workflow OCI labels block already landed in prior commit and
will be active on next CI build.
2026-05-28 13:44:51 +07:00
tiennm99 3a0e31b790 refactor(couchbase): rename image package to couchbase (Convention B)
Updates publish workflow to build/push couchbase (Convention B style:
<service>:<version>) instead of couchbase-2.5. Renames image in CI/CD
pipeline and adds OCI image-spec labels block aligned with scribe pattern.
Updates docker-compose.example.yml image reference.

Applies Convention B naming rule (codified in prior commit) to couchbase
image, enabling cleanup of orphan couchbase-2.5 packages via manual UI
deletion post-merge.
2026-05-28 13:44:43 +07:00
tiennm99 2f7bfde836 docs: codify Convention B naming rule and close prior decision plans
Adds "Naming convention" section to README documenting Convention B
(<service>:<version>) as the repo standard, replacing prior Convention A
brainstorms. Incorporates completed scribe OCI label pattern. Closes
blocking dependency on 260528-1110 naming-decision plan.

Stages completed prior planning artifacts for historical record.
2026-05-28 13:44:37 +07:00
tiennm99 4ef74f3317 feat(scribe): expand OCI image-spec labels
Add image.title and image.licenses; override metadata-action defaults
in publish workflow so published image carries Scribe upstream source
and correct title rather than this repo's auto-derived values.
2026-05-28 12:33:42 +07:00
tiennm99 afaa631c94 refactor(scribe): normalize ASCII formatting
Remove decorative Unicode banner comments, replace em-dashes with
hyphens across Dockerfile, configs, docs, and one Go log string,
alphabetize the builder-stage yum package list, and drop the
non-standard description/version LABELs from the runtime stage.
2026-05-28 12:33:25 +07:00
tiennm99 ff5e5f6a42 chore: drop gradle-8 and oraclejdk-8 images
Remove the Gradle 8 and Oracle JDK 8 image directories, their publish
workflows, and the corresponding rows and sections in the root README.
2026-05-28 12:16:45 +07:00
tiennm99 3998f5d41a refactor(scribe): version image directory 2026-05-27 18:17:31 +07:00
tiennm99 9a47995d7c docs(planning): add planning artifacts for scribe example implementation
Planning docs for the Go sender example feature, including:
- Phase overviews and implementation steps
- Research findings on Scribe protocol and Go integration
- Task breakdown and success criteria
2026-05-27 17:49:05 +07:00
tiennm99 bd16c305eb feat(scribe): add runnable docker-compose example with Go test sender
Introduces a complete runnable example for the Scribe logging image, featuring:
- docker-compose.yml orchestrating scribe daemon and Go test sender
- Go test sender application (main.go, go.mod, Dockerfile)
- Example README with setup and usage instructions
- Updated scribe/README.md with Runnable Example section
2026-05-27 17:49:02 +07:00
tiennm99 21220546a8 docs(readme): add image index table at top 2026-05-11 21:45:47 +07:00
tiennm99 890f98457a Add Claude Code project settings 2026-04-06 13:46:57 +07:00
tiennm99 f0aeb5cf1c Add Scribe credits to root README 2026-04-06 13:44:45 +07:00
tiennm99 710d6ddb7a Update Scribe docs: link from root README, fix base OS reference 2026-04-06 13:41:22 +07:00
tiennm99 5aa2bd33f3 Switch Scribe to CentOS 7 and add publish workflow
CentOS 7 eliminates the automake 1.14+ patch needed on Ubuntu.
Add GitHub Actions workflow to publish to GHCR and Docker Hub.
2026-04-06 13:32:15 +07:00
tiennm99 2bb2e13279 Add Scribe 2.2 Docker image
Multi-stage build of Facebook's legacy log aggregation daemon
from source (facebookarchive/scribe) with Apache Thrift 0.9.1
and fb303. Includes default config and entrypoint script.
2026-04-06 13:08:13 +07:00
tiennm99 3aa514ea7f Remove settings.local.json from version control
Add .claude/settings.local.json to .gitignore to prevent
local permission settings from being tracked.
2026-04-06 13:05:19 +07:00
tiennm99 9f5214cc44 Update docker-compose.example.yml 2025-10-07 23:27:58 +07:00
tiennm99 ddd007d7c7 Update publish-couchbase-2.5.yml 2025-10-07 23:04:59 +07:00
tiennm99 725243bb1f Update publish-couchbase-2.5.yml 2025-10-07 22:56:13 +07:00
tiennm99 fe84ef0fb4 Update publish-couchbase-2.5.yml 2025-10-07 22:54:56 +07:00
tiennm99 52ff23d321 Update README.md 2025-10-07 22:49:59 +07:00
tiennm99 b74359a6e6 Update publish-couchbase-2.5.yml 2025-10-07 22:45:45 +07:00
tiennm99 a141b1db39 feat(couchbase): fix 2025-10-07 22:31:55 +07:00
tiennm99 eb028c8ee1 feat(gradle): update dockerfile 2025-10-07 21:49:30 +07:00
tiennm99 ef14f53213 feat(oraclejdk): update tags & readme 2025-10-07 21:14:35 +07:00
tiennm99 76e699fac9 feat(oraclejdk): update dockerfile 2025-10-07 21:02:08 +07:00
tiennm99 acba0c4b9b feat(oraclejdk): stash 2025-10-07 20:54:03 +07:00
tiennm99 7f5a898e8d feat(oraclejdk): stash 2025-10-07 20:42:14 +07:00
tiennm99 e017fa3b49 feat: update actions base on template 2025-10-07 20:30:22 +07:00
tiennm99 e3b209e389 feat(template): add template 2025-10-07 20:15:24 +07:00
tiennm99 ecf4b0d2b7 Update README.md 2025-10-06 21:20:45 +07:00
tiennm99 8b27ca039f feat(docker): gradle-8 2025-10-06 21:12:34 +07:00
tiennm99 cde575bd7e feat: oraclejdk 2025-10-06 20:40:25 +07:00
tiennm99 ff6b37e2c8 feat: stash 2025-10-06 00:31:29 +07:00
tiennm99 a9d0d65fa4 Refactor Couchbase 2.5 Docker setup and scripts
Updated Dockerfile to add libssl0.9.8, split some RUN commands, and improved permissions handling. Modified entrypoint.sh to use 'set -ex' for better debugging and switched to 'runsvdir -P /etc/service' for process management. Cleaned up docker-compose.example.yml by commenting out unused options. Updated run script to unset HOME before execution for improved environment consistency.
2025-10-05 22:30:23 +07:00
tiennm99 035484e5cf Add docker-compose example and improve Couchbase-2.5 setup
Added a docker-compose.example.yml for Couchbase-2.5 and updated the README with usage instructions. Enhanced the Dockerfile to ensure scripts use Unix line endings and are executable, improving container reliability.
2025-10-05 20:12:05 +07:00
tiennm99 8544ce2c4c Update maintainer and fix Ubuntu sources in Dockerfile
Replaces the deprecated MAINTAINER instruction with LABEL for maintainer information. Updates apt sources to use old-releases.ubuntu.com, ensuring package installation works for Ubuntu 12.04 which is now archived.
2025-10-05 10:39:16 +07:00
tiennm99 5b10be09e4 Refactor Couchbase 2.5 Dockerfile and add entry scripts
Updated the Couchbase 2.5 Dockerfile to improve dependency management, add user setup, and enhance container process handling. Added entrypoint, runit, and dummy scripts to support containerized operation and port overrides. Updated README with new reference link.
2025-10-05 10:38:15 +07:00
tiennm99 e1884fe1a6 Run Couchbase as non-root user and set data volume
Updates the Dockerfile to change ownership of /opt/couchbase/var, declare it as a volume, and run the container as the 'couchbase' user for improved security and data persistence.
2025-10-05 01:07:42 +07:00
tiennm99 3fc914a795 Fix CMD syntax in Dockerfile
Replaces space-separated arguments with comma-separated values in the CMD instruction to ensure correct JSON array syntax for Docker.
2025-10-05 00:56:44 +07:00
tiennm99 a3768dda06 Add noinput flag to Couchbase server CMD
Updated the Dockerfile to run couchbase-server with the '-noinput' flag, which may help automate container startup by suppressing interactive prompts.
2025-10-05 00:52:29 +07:00
tiennm99 954092e275 Revert "Set default user to couchbase in Dockerfile"
This reverts commit 76d66c39d4.
2025-10-05 00:44:28 +07:00
tiennm99 76d66c39d4 Set default user to couchbase in Dockerfile
Added USER couchbase to ensure the container runs as the couchbase user instead of root, improving security.
2025-10-05 00:36:43 +07:00
tiennm99 92ab83b0bd Reorder user creation in Dockerfile
Moved the group and user creation for 'couchbase' before Couchbase installation steps. This ensures the user exists prior to package installation, which may be required for proper permissions or setup.
2025-10-05 00:30:07 +07:00