mirror of
https://github.com/google-github-actions/setup-gcloud.git
synced 2026-08-27 13:39:21 +00:00
Co-authored-by: Thomas Osowski <osowskit@github.com> Co-authored-by: Tom Osowski <osowskit@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com> Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Greg Orzell <gorzell@users.noreply.github.com> Co-authored-by: Greg Orzell <gorzell@github.com>
22 lines
980 B
Docker
22 lines
980 B
Docker
FROM gcr.io/cloud-builders/gcloud-slim@sha256:9ce2bb0f7459621450e1730c35c9620f23824e1c6d7a810c8eb1b80712d9af5a
|
|
|
|
LABEL "name"="gcloud"
|
|
LABEL "version"="1.0.0"
|
|
LABEL "maintainer"="GitHub Actions <support+actions@github.com>"
|
|
|
|
LABEL "com.github.actions.name"="GitHub Action for Google Cloud"
|
|
LABEL "com.github.actions.description"="Wraps the GCloud SDK to enable common Google Cloud Platform commands."
|
|
LABEL "com.github.actions.icon"="upload-cloud"
|
|
LABEL "com.github.actions.color"="green"
|
|
COPY LICENSE README.md THIRD_PARTY_NOTICE.md /
|
|
|
|
ENV DOCKERVERSION=18.06.1-ce
|
|
RUN apt-get update && apt-get -y --no-install-recommends install curl \
|
|
&& curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
|
|
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 \
|
|
-C /usr/local/bin docker/docker \
|
|
&& rm docker-${DOCKERVERSION}.tgz \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|