The image to use firebase-cli. Updated 12/29/2021.
2.1K
Usage:
The Firebase CLI requires a browser to complete authentication, but the CLI is fully compatible with CI and other headless environments.
You need to get a token for authentication. Start the container:
docker run -p 9005:9005 zl0i/firebase-cli:latest
And run the following command:
firebase login:ci
Visit the URL provided, then log in using a Google account. The token will appear in the container console. You can use this token when running firebase commands. You can use either of the following two options:
Store the token as the environment variable FIREBASE_TOKEN. Your system will automatically use the token.
Option 2: Run all firebase commands with the --token TOKEN flag in your CI system.This is the order of precedence for token loading: flag, environment variable, desired Firebase project.
On any machine with the Firebase CLI installed, you can immediately revoke access for the specified token by running the following command: firebase logout --token TOKEN
Content type
Image
Digest
Size
130.1 MB
Last updated
over 4 years ago
docker pull zl0i/firebase-cli