Add Firebase CLI to the base image #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add the Firebase CLI (
firebase-tools) to the base stage of the image so all variants (ci,coder,coder-xfce-vnc) inherit it.Why
CI/CD pipelines (e.g.
asgolf-longwy/frontend) need thefirebaseCLI to deploy Hosting/Functions/Firestore rules and to run the Firebase Emulator Suite (Firestore rules unit-testing). The emulator requires a JDK, which the base already provides (Azul Zulu). The only missing piece is the Firebase CLI, which is currently absent from every variant.Approach
Install the standalone Firebase CLI in the base stage via the official installer:
The standalone binary bundles its own Node runtime, so it works in
baseeven though base has no system Node. This mirrors howGuillaumeHemmen/debian-node-firebaseinstalls it. UpdateREADME.mdto mention the Firebase CLI.Acceptance criteria
firebase --versionworks in theci,coder, andcoder-xfce-vncimages.README.mddocuments the Firebase CLI in the base/variants.26.25.1).Consumed by the
asgolf-longwy/frontendCI image migration.