diff --git a/cloud_build/firebase-ghcli/Dockerfile b/cloud_build/firebase-ghcli/Dockerfile index 5d55977..3268180 100644 --- a/cloud_build/firebase-ghcli/Dockerfile +++ b/cloud_build/firebase-ghcli/Dockerfile @@ -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; @@ -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 diff --git a/cloud_build/firebase-ghcli/README.md b/cloud_build/firebase-ghcli/README.md index d7d0d3d..f4fb1e0 100644 --- a/cloud_build/firebase-ghcli/README.md +++ b/cloud_build/firebase-ghcli/README.md @@ -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