David Ostrovsky | 68e6037 | 2019-09-14 09:56:09 +0200 | [diff] [blame] | 1 | FROM gerritforge/gerrit-ci-slave-bazel:debian-buster-nocache-80.0.3987.149 |
Luca Milanesio | aebf3de | 2018-12-07 22:40:35 +0000 | [diff] [blame] | 2 | |
| 3 | RUN apt-get update && \ |
| 4 | apt-get install -y gnupg2 && \ |
| 5 | export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \ |
| 6 | echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" > /etc/apt/sources.list.d/google-cloud-sdk.list && \ |
| 7 | curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ |
Luca Milanesio | be64646 | 2019-01-09 23:57:27 +0000 | [diff] [blame] | 8 | apt-get update && apt-get install -y google-cloud-sdk && \ |
Luca Milanesio | aebf3de | 2018-12-07 22:40:35 +0000 | [diff] [blame] | 9 | apt-get clean |
| 10 | |
| 11 | COPY gerrit-release.sh /usr/local/bin |
| 12 | |
| 13 | ENTRYPOINT /bin/bash |
| 14 | |
| 15 | USER jenkins |