c1154f1fa6
Publish Docker Image / resolve-versions (push) Successful in 5s
Publish Docker Image / base-decide (push) Successful in 12s
Publish Docker Image / build-base (push) Successful in 45m47s
Publish Docker Image / smoke (push) Successful in 8m18s
Publish Docker Image / build-variant (push) Successful in 22m41s
Publish Docker Image / update-description (push) Failing after 9s
Publish Docker Image / promote-base-latest (push) Successful in 14s
Self-contained build chain — own Dockerfile.base + Dockerfile.variant
+ entrypoint scripts + rootfs + CI pipeline. Previously v0.79.0 and
earlier were thin re-brands of opencode-devbox's pi-only variant
(joakimp/pi-devbox:base-pi-only built by opencode-devbox CI).
Architectural changes:
- Replace 5-line Dockerfile shim with full base+variant pair.
- Adapt CI workflow from opencode-devbox/docker-publish-split.yml,
simplified to a single variant. Includes content-addressed base hash,
PI_VERSION concrete-resolution to defeat registry-buildcache footgun,
crane-based base-latest promotion, and the c6f9d11 smoke-test gate.
- pi-devbox releases no longer require rebuilding opencode-devbox first.
Base image additions:
- pandoc, graphviz, imagemagick, yq — broadly useful, ~260 MB total.
- tldr (tealdeer) — Rust port replaces Node tldr global, saves 135 MB.
- /etc/tmux.conf with base-index 0 + pane-base-index 0 — required for
the planned :latest-studio variant; pi-studio hard-codes :0.0 target.
Smoke test:
- New checks for pandoc, graphviz, imagemagick, yq, tldr, tmux config,
/tmp/sshcm directory.
- Image-size measurement now sums docker history layers (the prior
inspect --format='{{.Size}}' returned only the variant-unique layer
with the new base/variant split, understating by 2+ GB).
- Threshold 2850 → 3500 MB to absorb base additions + arch margin.
Image size:
- Local arm64 build: 3.20 GB. ~390 MB up from prior pi-only equivalent.
- Will tighten threshold once amd64 actuals settle in CI.
Pre-1.0 history preserved at tag pre-v1.0.0-decouple-backup.
Future work:
- v1.1.0: :latest-studio variant (adds pi-studio).
- v1.2.0: :latest-studio-tex variant (adds texlive-xetex for PDF).
- opencode-devbox v2.0.0 will retire INSTALL_PI / pi-only paths.
28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
# opencode-devbox readline defaults
|
|
# To override, bind-mount your host's ~/.inputrc over this file
|
|
# via docker-compose.yml.
|
|
|
|
# Inherit system-wide defaults (colour, 8-bit input, …) if present
|
|
$include /etc/inputrc
|
|
|
|
# ── History search on Up/Down ────────────────────────────────────────
|
|
# Type a prefix, press Up, and walk through previous commands starting
|
|
# with that prefix. Ctrl-Up / Ctrl-Down keep the unconditional stepper.
|
|
"\e[A": history-search-backward
|
|
"\e[B": history-search-forward
|
|
"\e[1;5A": previous-history
|
|
"\e[1;5B": next-history
|
|
|
|
# ── Completion quality ───────────────────────────────────────────────
|
|
set show-all-if-ambiguous on # single Tab shows matches on ambiguity
|
|
set completion-ignore-case on # case-insensitive file/dir completion
|
|
set colored-stats on # colour ls-style completion list entries
|
|
set colored-completion-prefix on # highlight the matched prefix
|
|
set visible-stats on # append /*@ type indicators in completion
|
|
set mark-symlinked-directories on # add trailing / to symlinks to dirs
|
|
set skip-completed-text on # don't re-insert already-typed text
|
|
|
|
# Treat hyphens and underscores as equivalent when completing (e.g.
|
|
# typing `foo-` matches both `foo-bar` and `foo_bar`).
|
|
set completion-map-case on
|