created: 2020-02-21T00:23:30.000Z

alpine に gcloud をインストールする Dockerfile

  • curl, bash, python, が必要
  • PATHを通す (root配下にインストールされた)
FROM node:10-alpine

RUN apk --no-cache add curl bash python
RUN curl -sSL https://sdk.cloud.google.com | bash
ENV PATH $PATH:/root/google-cloud-sdk/bin

参考

Interface(インターフェース) 2023年 07 月号
[ad] Interface(インターフェース) 2023年 07 月号
Interface編集部 (雑誌)