mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 16:53:57 +00:00
Install gcloud in /opt, so it can be accessed by non root (#10400)
This commit is contained in:
parent
e50ffab858
commit
7c19757d28
|
@ -69,8 +69,8 @@ RUN apt-get update -y --fix-missing && \
|
|||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install gcloud SDK and Firestore emulator.
|
||||
RUN curl -sSL https://sdk.cloud.google.com | bash
|
||||
ENV PATH="$PATH:/root/google-cloud-sdk/bin"
|
||||
RUN curl -sSL https://sdk.cloud.google.com | bash -s -- --install-dir=/opt --disable-prompts
|
||||
ENV PATH="$PATH:/opt/google-cloud-sdk/bin"
|
||||
# beta component is required by firestore emulator: https://cloud.google.com/sdk/gcloud/reference/beta/emulators/firestore/start
|
||||
RUN gcloud components install cloud-firestore-emulator beta
|
||||
|
||||
|
|
Loading…
Reference in a new issue