Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions cloud_build/firebase-ghcli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dart:3.10.0-290.4.beta
FROM dart:3.11.0-93.2.beta

# Install prerequisite dependencies.
RUN apt-get update && apt-get install -y curl gpg
Expand All @@ -8,13 +8,5 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | g
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null;
RUN apt update && apt install -y gh;

# Install the latest LTS of Node, which also includes npm.
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
ENV NODE_MAJOR=22
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update
RUN apt-get install nodejs -y

# Install the latest version of firebase-tools globally.
RUN npm install -g firebase-tools
RUN curl -sL https://firebase.tools | bash
3 changes: 1 addition & 2 deletions cloud_build/firebase-ghcli/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Summary

This directory contains a Dockerfile that provides access to
Dart, Node/NPM, Firebase CLI tools, and the GitHub CLI.
Dart, Firebase CLI tools, and the GitHub CLI.
This image is used to deploy various Dart/Flutter websites to
Firebase in both production and staging, and is
also used to comment staging links on GitHub PRs.
Expand All @@ -10,7 +10,6 @@ also used to comment staging links on GitHub PRs.

* Dart SDK
* GitHub CLI
* Node/NPM
* Firebase Tools

## Additional information
Expand Down