Sign inSign up

cloudepicvue/gcloud-node

By cloudepicvue

•Updated almost 2 years ago

Docker image made from node:lts-alpine. it has the contents of node.js and google-sdk.

Image
0

5.0K

cloudepicvue/gcloud-node repository overview

⁠Start from Node.js Alpine image

FROM node:lts-alpine AS build

⁠Update APK repositories

RUN apk update && apk add
bash
curl
python3
py3-pip
# Add any other dependencies you need && rm -rf /var/cache/apk/*

⁠Install Google Cloud SDK

ENV CLOUD_SDK_VERSION 453.0.0 RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz⁠ &&
tar xzf google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz &&
rm google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz &&
./google-cloud-sdk/install.sh &&
./google-cloud-sdk/bin/gcloud --quiet components update

⁠Add the Google Cloud SDK binaries to the PATH

ENV PATH $PATH:/google-cloud-sdk/bin

Tag summary

Content type

Image

Digest

sha256:719faad03…

Size

266.3 MB

Last updated

almost 2 years ago

docker pull cloudepicvue/gcloud-node:22.505.0