blob: 2eb3e6569531549290c34ae35c3d66aef1bd7968 [file] [log] [blame]
David Ostrovsky68e60372019-09-14 09:56:09 +02001FROM gerritforge/gerrit-ci-slave-bazel:debian-buster-nocache-80.0.3987.149
Luca Milanesioaebf3de2018-12-07 22:40:35 +00002
3RUN 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 Milanesiobe646462019-01-09 23:57:27 +00008 apt-get update && apt-get install -y google-cloud-sdk && \
Luca Milanesioaebf3de2018-12-07 22:40:35 +00009 apt-get clean
10
11COPY gerrit-release.sh /usr/local/bin
12
13ENTRYPOINT /bin/bash
14
15USER jenkins