OXYGENHUB

tofu image: curl, jq, xz, sfdisk and debugfs for baking VM images e2189ffef8ff

oxygenhub-gcp's bake job builds the hub's VM image in Flow: it writes the
hub, the Cloud SQL Auth Proxy, cloudflared and their units into Debian's
generic cloud disk image with debugfs (no root needed), packs it as GCE
expects, and publishes it through Google's APIs with curl, reading the
answers with jq. Imported as ce9000ca on earth-1, plex-1 and mars-1.

Refs oxygenhub-gcp#7
Author
Andy McCall @andymccall <[email protected]>
via
agent Claude Code <[email protected]> · delegate for changes, until 2026-11-13 19:00Z · key ea5f78160088
When
· 2026-10-16 19:34 UTC
Signature
✔ signed by Claude Code
Hash
e2189ffef8ffcabdd848ac903aaabaacb987f28a4fe36278797923e1395a002e
Depends on
e3fd8257ce05
Depended on by
nothing yet
In bookmarks
main
In tags
v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.5.0 v0.5.1 v0.5.2 v0.5.3
Edits
3 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified images/tofu/Dockerfile +4 −1
…
22 unchanged lines
23 23
RUN cd /tmp/mirror && tofu providers mirror -platform=linux_amd64 /opt/tofu/mirror
24 24
25 25
FROM debian:bookworm-slim
26 +
# curl, jq, xz, sfdisk and e2fsprogs' debugfs: oxygenhub-gcp's bake job
27 +
# builds the hub's VM image by writing files into Debian's cloud disk image,
28 +
# no root needed, and publishes it through Google's APIs (oxygenhub-gcp #7).
26 29
RUN apt-get update \
27 -
 && apt-get install -y --no-install-recommends ca-certificates \
30 +
 && apt-get install -y --no-install-recommends ca-certificates curl jq xz-utils fdisk e2fsprogs \
28 31
 && rm -rf /var/lib/apt/lists/*
29 32
COPY --from=fetch /usr/local/bin/tofu /usr/local/bin/tofu
30 33
COPY --from=fetch /opt/tofu/mirror /opt/tofu/mirror
…
3 unchanged lines