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
10 changes: 5 additions & 5 deletions cloud_build/firebase-ghcli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM marketplace.gcr.io/google/debian12
FROM dart:beta

# Install prerequisite dependencies.
RUN apt-get update && apt-get install -y curl gpg

# Install the GitHub cli.
RUN apt update && apt install -y \
curl \
gpg
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg;
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;
Expand All @@ -16,5 +16,5 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesourc
RUN apt-get update
RUN apt-get install nodejs -y

# Install firebase-tools
# Install the latest version of firebase-tools globally.
RUN npm install -g firebase-tools
3 changes: 2 additions & 1 deletion cloud_build/firebase-ghcli/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## Summary

This directory contains a Dockerfile that provides access to
Node/NPM, Firebase CLI tools, and the GitHub CLI.
Dart, Node/NPM, 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.

## Installed tools

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