Skip to content

Instantly share code, notes, and snippets.

@r4rohan
Last active December 28, 2020 07:53
Show Gist options
  • Save r4rohan/2ec1c65d7100da6f8a3a9d5c7796e5ba to your computer and use it in GitHub Desktop.
Save r4rohan/2ec1c65d7100da6f8a3a9d5c7796e5ba to your computer and use it in GitHub Desktop.
FROM node:14
RUN npm install
RUN npm i -g firebase-tools
# Downloading gcloud package
RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz
# Installing the package
RUN mkdir -p /usr/local/gcloud \
&& tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz \
&& /usr/local/gcloud/google-cloud-sdk/install.sh
# Adding the package path to local
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment