Sign inSign up

andrewmackrodt/firebase-tools

By andrewmackrodt

•Updated 5 months ago

Node.js 16.x, firebase-tools daily builds.

Image
0

50K+

andrewmackrodt/firebase-tools repository overview

⁠andrewmackrodt/docker-firebase-tools⁠

Status Pulls Dockerfile Size Version

Node.js⁠ 20.x image with npm⁠, firebase-tools⁠.

See andrewmackrodt/docker-nodejs⁠ for more details.

⁠Usage

⁠docker
# print version
docker run --rm andrewmackrodt/firebase-tools --version

# login to firebase interactively local
# linux users can use "--network=host" instead of "-p"
docker run --rm -it \
    -p 9005:9005 \
    -v "$HOME/.fierbase:/config" \
    andrewmackrodt/firebase-tools \
    -- \
    login

# login to firebase interactively remote
docker run --rm -it \
    -v "$HOME/.fierbase:/config" \
    andrewmackrodt/firebase-tools \
    -- \
    login --no-localhost

# initialize a new project
docker run --rm \
    -v "$HOME/.fierbase:/config" \
    -v "$PWD:/app" \
    -w /app \
    andrewmackrodt/firebase-tools \
    -- \
    init

⁠Parameters

ParameterFunction
-e PUID=1000The user id, recommended: $(id -u)
-e PGID=1000The group id, recommended: $(id -g)
-e SUDO_NOPASSWD=0Set to 1 to allow passwordless sudo
-v /configFirebase config directory

Tag summary

Content type

Image

Digest

sha256:dfe66fce1…

Size

418.9 MB

Last updated

5 months ago

docker pull andrewmackrodt/firebase-tools