File tree Expand file tree Collapse file tree 7 files changed +18
-14
lines changed
infra/base-images/base-builder Expand file tree Collapse file tree 7 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 1919source /etc/os-release
2020
2121if [[ " $VERSION_ID " == " 20.04" ]]; then
22- SWIFT_PACKAGES=" wget \
23- binutils \
22+ SWIFT_PACKAGES=" binutils \
2423 git \
24+ unzip \
2525 gnupg2 \
2626 libc6-dev \
27- libcurl4 \
27+ libcurl4-openssl-dev \
2828 libedit2 \
29- libgcc-9 -dev \
30- libpython2.7 \
29+ libgcc-11 -dev \
30+ libpython3-dev \
3131 libsqlite3-0 \
32- libstdc++-9 -dev \
33- libxml2 \
32+ libstdc++-11 -dev \
33+ libxml2-dev \
3434 libz3-dev \
3535 pkg-config \
36+ python3-lldb-13 \
3637 tzdata \
3738 uuid-dev \
3839 zlib1g-dev"
3940 SWIFT_URL=" https://download.swift.org/swift-6.1.3-release/ubuntu2004/swift-6.1.3-RELEASE/swift-6.1.3-RELEASE-ubuntu20.04.tar.gz"
4041 SWIFT_DIR=" swift-6.1.3-RELEASE-ubuntu20_04"
4142elif [[ " $VERSION_ID " == " 24.04" ]]; then
42- SWIFT_PACKAGES=" wget \
43- binutils \
43+ SWIFT_PACKAGES=" binutils \
4444 git \
45+ unzip \
4546 gnupg2 \
4647 libc6-dev \
4748 libcurl4-openssl-dev \
@@ -58,8 +59,8 @@ elif [[ "$VERSION_ID" == "24.04" ]]; then
5859 zip \
5960 unzip \
6061 zlib1g-dev"
61- SWIFT_URL=" https://download.swift.org/swift-6.1 .3-release/ubuntu2404/swift-6.1 .3-RELEASE/swift-6.1 .3-RELEASE-ubuntu24.04.tar.gz"
62- SWIFT_DIR=" swift-6.1 .3-RELEASE-ubuntu24.04"
62+ SWIFT_URL=" https://download.swift.org/swift-6.2 .3-release/ubuntu2404/swift-6.2 .3-RELEASE/swift-6.2 .3-RELEASE-ubuntu24.04.tar.gz"
63+ SWIFT_DIR=" swift-6.2 .3-RELEASE-ubuntu24.04"
6364else
6465 echo " Unsupported Ubuntu version: $VERSION_ID "
6566 exit 1
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919# specific to project
2020RUN apt-get update && apt-get install -y zlib1g-dev
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ sanitizers:
1111- address
1212- thread
1313main_repo : ' https://github.com/grpc/grpc-swift'
14+ base_os_version : ubuntu-24-04
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919# specific swift-nio
2020RUN git clone --depth 1 https://github.com/google/fuzzing
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ sanitizers:
1212- address
1313- thread
1414main_repo : ' https://github.com/apple/swift-nio.git'
15+ base_os_version : ubuntu-24-04
Original file line number Diff line number Diff line change 1414#
1515# ###############################################################################
1616
17- FROM gcr.io/oss-fuzz-base/base-builder-swift
17+ FROM gcr.io/oss-fuzz-base/base-builder-swift:ubuntu-24-04
1818
1919RUN git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/apple/swift-protobuf.git
2020COPY build.sh $SRC
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ coverage_extra_args: >
1515 -ignore-filename-regex=.*\.pb\.swift
1616 -ignore-filename-regex=.*/\.build/.*
1717main_repo : ' https://github.com/apple/swift-protobuf.git'
18+ base_os_version : ubuntu-24-04
You can’t perform that action at this time.
0 commit comments