Commit 0126475 1 parent a51135f commit 0126475 Copy full SHA for 0126475
File tree 2 files changed +15
-13
lines changed
cloud_build/firebase-ghcli
2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
- FROM gcr.io/gcp-runtimes/ubuntu_20_0_4
1
+ FROM marketplace. gcr.io/google/debian12
2
2
3
- # Install github cli
3
+ # Install the GitHub cli.
4
4
RUN apt update && apt install -y \
5
5
curl \
6
6
gpg
7
7
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg;
8
8
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;
9
9
RUN apt update && apt install -y gh;
10
10
11
- # Install node and npm
11
+ # Install the latest LTS of Node, which also includes npm.
12
12
RUN mkdir -p /etc/apt/keyrings
13
13
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
14
14
ENV NODE_MAJOR=20
Original file line number Diff line number Diff line change 1
1
## Summary
2
- This directory contains a Dockerfile that provides access to firebase tools and
3
- the Github CLI. This image is used to deploy various Dart/Flutter websites to
4
- firebase in both production and staging, and is also used to comment on Github
5
- PRs.
6
2
3
+ This directory contains a Dockerfile that provides access to
4
+ Node/NPM, Firebase CLI tools, and the GitHub CLI.
5
+ This image is used to deploy various Dart/Flutter websites to
6
+ Firebase in both production and staging, and is
7
+ also used to comment staging links on GitHub PRs.
7
8
8
9
## Installed tools
9
- * Github CLI
10
+
11
+ * GitHub CLI
10
12
* Node/NPM
11
13
* Firebase Tools
12
14
13
-
14
15
## Additional information
15
- When the dockerfile or cloud build template in this directory is changed in a
16
- PR, the cloud build template is triggered and a new version of the image is
17
- deployed as the latest version in Container Registry under the ` flutter-dev `
18
- project in GCP.
16
+
17
+ When the ` Dockerfile ` file or ` cloudbuild.yaml ` template in this directory
18
+ are changed in a PR, the cloud build template is triggered and
19
+ a new version of the image is deployed as the latest version in
20
+ Container Registry under the ` flutter-dev ` project in GCP.
You can’t perform that action at this time.
0 commit comments