boringssl: Switch Docker base image to base-builder-go (#9085)

This is to fix https://crbug.com/oss-fuzz/53701, a build failure.

The Go from apt is old (1.13). Instead, use base-builder-go to pick up
oss-fuzz's copy of Go. We're technically a C/C++ project, but since
C/C++ is part of the baseline, we can just use the Go one.

If we ever need two languages, we can follow the advice in
https://google.github.io/oss-fuzz/getting-started/new-project-guide/#dockerfile
to run install_lang.sh. (Although after https://crbug.com/boringssl/542,
we may not need Go anyway.)
This commit is contained in:
David Benjamin 2022-11-28 14:01:08 -05:00 committed by GitHub
parent 0c5013690c
commit e011be1a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
FROM gcr.io/oss-fuzz-base/base-builder-go
RUN apt-get update && apt-get install -y wget \
golang binutils cmake ninja-build liblzma-dev libz-dev \
binutils cmake ninja-build liblzma-dev libz-dev \
pkg-config autoconf libtool
RUN git clone --depth 1 https://boringssl.googlesource.com/boringssl
# Use ASN.1 pdu protobuf and converter from the google/fuzzing repo.