mirror of https://github.com/google/oss-fuzz.git
[cifuzz] Install gsutil using pip. (#10159)
Install is much smaller than web instructions and doesn't include anthos bloat. This cuts pull time in half (about 30 seconds).
This commit is contained in:
parent
05b5fb0542
commit
5936f1b235
|
@ -20,14 +20,7 @@ RUN apt-get update && \
|
|||
apt-get install -y systemd && \
|
||||
wget https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/docker-ce-cli_20.10.8~3-0~ubuntu-focal_amd64.deb -O /tmp/docker-ce.deb && \
|
||||
dpkg -i /tmp/docker-ce.deb && \
|
||||
rm /tmp/docker-ce.deb && \
|
||||
mkdir -p /opt/gcloud && \
|
||||
wget -qO- https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz | tar zxv -C /opt/gcloud && \
|
||||
/opt/gcloud/google-cloud-sdk/install.sh --usage-reporting=false --bash-completion=false --disable-installation-options && \
|
||||
apt-get -y install gcc python3-dev && \
|
||||
pip3 install -U crcmod && \
|
||||
apt-get autoremove -y gcc python3-dev
|
||||
|
||||
rm /tmp/docker-ce.deb
|
||||
|
||||
ENV PATH=/opt/gcloud/google-cloud-sdk/bin/:$PATH
|
||||
ENV OSS_FUZZ_ROOT=/opt/oss-fuzz
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
clusterfuzz==2.5.9
|
||||
requests==2.28.0
|
||||
protobuf==3.20.2
|
||||
gsutil==5.20
|
||||
|
|
Loading…
Reference in New Issue