Add Firebase CLI to the base image #15

Closed
opened 2026-06-21 17:05:17 +00:00 by GuillaumeHemmen · 0 comments

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 the firebase CLI 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:

RUN curl -fsSL https://firebase.tools | bash

The standalone binary bundles its own Node runtime, so it works in base even though base has no system Node. This mirrors how GuillaumeHemmen/debian-node-firebase installs it. Update README.md to mention the Firebase CLI.

Acceptance criteria

  • firebase --version works in the ci, coder, and coder-xfce-vnc images.
  • README.md documents the Firebase CLI in the base/variants.
  • A CalVer release tag is pushed on merge (next: 26.25.1).

Consumed by the asgolf-longwy/frontend CI image migration.

## 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 the `firebase` CLI 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: ```dockerfile RUN curl -fsSL https://firebase.tools | bash ``` The standalone binary bundles its own Node runtime, so it works in `base` even though base has no system Node. This mirrors how `GuillaumeHemmen/debian-node-firebase` installs it. Update `README.md` to mention the Firebase CLI. ## Acceptance criteria - `firebase --version` works in the `ci`, `coder`, and `coder-xfce-vnc` images. - `README.md` documents the Firebase CLI in the base/variants. - A CalVer release tag is pushed on merge (next: `26.25.1`). Consumed by the `asgolf-longwy/frontend` CI image migration.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
actions/sindri#15
No description provided.